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:
parent
4761818695
commit
c27db9c235
@ -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
|
||||
|
||||
|
4
lyx.spec
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user