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
This commit is contained in:
Cor Blom 2012-09-24 14:21:54 +00:00 committed by Git OBS Bridge
parent 4761818695
commit c27db9c235
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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