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
This commit is contained in:
parent
29693e90e5
commit
1a263d3a86
@ -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
|
||||
|
||||
|
12
giflib.spec
12
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}
|
||||
|
Loading…
Reference in New Issue
Block a user