From c27db9c23585be04bd46d22de3443771994a3bd148fc13216170c84999ddfa84 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Mon, 24 Sep 2012 14:21:54 +0000 Subject: [PATCH] Accepting request 135672 from home:cornelisbb:branches:Publishing resolved one rpmlint warning, the one left is fixed upstream OBS-URL: https://build.opensuse.org/request/show/135672 OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=59 --- lyx.changes | 5 +++++ lyx.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lyx.changes b/lyx.changes index 7004d65..9b01c08 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 21 11:18:20 UTC 2012 - cornelis@solcon.nl + +- Also fake builddate for tex2lyx to satisfy rpmlint + ------------------------------------------------------------------- Mon Jun 25 14:27:12 UTC 2012 - cornelis@solcon.nl diff --git a/lyx.spec b/lyx.spec index 7ea35dc..f96c72f 100644 --- a/lyx.spec +++ b/lyx.spec @@ -61,7 +61,9 @@ have different formats, such as DVI, postscript, PDF, html. FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M') FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/LyX.cpp -sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/LyX.cpp +sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/LyX.cpp +sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/tex2lyx/tex2lyx.cpp +sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/tex2lyx/tex2lyx.cpp %build #./autogen.sh