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