From 5b8aac1e244a664c2cb21e391111f3745cc60186d77ac300960b6066c11c9774 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Jul 2017 11:39:02 +0000 Subject: [PATCH] Accepting request 508238 from home:bmwiedemann:branches:devel:libraries:c_c++ Keep timestamps before patch updates them to fix build-compare OBS-URL: https://build.opensuse.org/request/show/508238 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=45 --- giflib.changes | 5 +++++ giflib.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/giflib.changes b/giflib.changes index a7d237f..ad15bfc 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 5 05:38:23 UTC 2017 - bwiedemann@suse.com + +- Keep timestamps before patch updates them to fix build-compare + ------------------------------------------------------------------- Fri May 13 15:50:28 UTC 2016 - rpm@fthiessen.de diff --git a/giflib.spec b/giflib.spec index 562ae3c..16ab5e9 100644 --- a/giflib.spec +++ b/giflib.spec @@ -74,6 +74,9 @@ have expired, giflib can again be used instead of libungif. %prep %setup -q +for file in `find util -name "*.c"`; do + touch -r $file $file.stamp +done %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -85,7 +88,6 @@ have expired, giflib can again be used instead of libungif. # 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