From 1a263d3a86ecfc52c84f5c443e7eec98620ed966f6a24d8fba108ebfa71ed45d Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 3 Sep 2010 11:07:54 +0000 Subject: [PATCH] Accepting request 46607 from devel:libraries:c_c++ Copy from devel:libraries:c_c++/giflib based on submit request 46607 from user elvigia OBS-URL: https://build.opensuse.org/request/show/46607 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/giflib?expand=0&rev=12 --- giflib.changes | 6 ++++++ giflib.spec | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/giflib.changes b/giflib.changes index 1f8c3b0..41564ce 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Aug 29 23:15:24 UTC 2010 - cristian.rodriguez@opensuse.org + +- Do not use __Date__ and __TIME__ , make build-compare + happier + ------------------------------------------------------------------- Thu Dec 17 20:50:13 CET 2009 - jengelh@medozas.de diff --git a/giflib.spec b/giflib.spec index d035470..513b3c0 100644 --- a/giflib.spec +++ b/giflib.spec @@ -31,7 +31,7 @@ Obsoletes: libungif-64bit %endif # Version: 4.1.6 -Release: 13 +Release: 19 Summary: A Library for Working with GIF Images Provides: libungif %ifarch ia64 x86_64 s390x ppc64 @@ -99,6 +99,16 @@ Authors: %setup -q %build +# USE __TIMESTAMP__ instead of __DATE__ , __TIME__ +# this change is pointless unless we preserve the original +# file modification time +for file in `find util -name "*.c"`; do + touch -r $file $file.stamp; + sed -i -e s@'__DATE__ ", " __TIME__'@__TIMESTAMP__@g $file; + touch -r $file.stamp $file; + rm -v $file.stamp +done + autoreconf -fiv %configure --disable-static --with-pic --x-libraries=%{_libdir} %{__make} %{?jobs:-j%jobs}