fix file-contains-date-and-time /usr/bin/lyx warning
OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=27
This commit is contained in:
parent
4c49be798b
commit
6c95d5be5c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 25 19:13:47 UTC 2011 - cornelis@solcon.nl
|
||||||
|
|
||||||
|
- fixed "file-contains-date-and-time /usr/bin/lyx" rpmlint warning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 28 19:56:30 UTC 2011 - cornelis@solcon.nl
|
Tue Jun 28 19:56:30 UTC 2011 - cornelis@solcon.nl
|
||||||
|
|
||||||
|
4
lyx.png
4
lyx.png
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:544d38fe82745ec14045015d965046b5f69cd7f62ee3945c1d27cf46973c59cd
|
oid sha256:7c38f08336f7327b59fa09a32c6925af2bf8131c2c2c4de14ec746edb954dd5c
|
||||||
size 528
|
size 1304
|
||||||
|
7
lyx.spec
7
lyx.spec
@ -36,7 +36,7 @@ Source3: lyxrc.dist
|
|||||||
# hunspell pkgconfig support
|
# hunspell pkgconfig support
|
||||||
# see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169351.html
|
# see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169351.html
|
||||||
Patch0: lyx-2.0.0-hunspell_pkgconfig.patch
|
Patch0: lyx-2.0.0-hunspell_pkgconfig.patch
|
||||||
# xdg path from fedora
|
# xdg patch
|
||||||
# This was rejected by upstream (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg133878.html)
|
# This was rejected by upstream (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg133878.html)
|
||||||
Patch1: lyx-2.0.0rc1-xdg_open.patch
|
Patch1: lyx-2.0.0rc1-xdg_open.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -54,6 +54,11 @@ each paragraph. Of course, low level formatting is still possible.
|
|||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
#remove build date from lyx binary to avoid unnecessary rebuilds
|
||||||
|
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
||||||
|
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/LyX.cpp
|
||||||
|
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
||||||
|
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/LyX.cpp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#%{?suse_update_config:%{suse_update_config -f config}}
|
#%{?suse_update_config:%{suse_update_config -f config}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user