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}