diff --git a/libjpeg-turbo.changes b/libjpeg-turbo.changes index 2a2b33c..975db94 100644 --- a/libjpeg-turbo.changes +++ b/libjpeg-turbo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 18 10:07:00 UTC 2017 - bwiedemann@suse.com + +- set build date to enable reproducible builds + ------------------------------------------------------------------- Wed Sep 21 10:50:36 UTC 2016 - idonmez@suse.com diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec index 94cc1de..c0273c5 100644 --- a/libjpeg-turbo.spec +++ b/libjpeg-turbo.spec @@ -107,6 +107,7 @@ files using the libjpeg library. %build export LDFLAGS="-Wl,-z,relro,-z,now" %configure --disable-static \ + --with-build-date=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d) \ --with-jpeg8 make %{?_smp_mflags} diff --git a/libjpeg62-turbo.changes b/libjpeg62-turbo.changes index 4f41bcd..a3559c6 100644 --- a/libjpeg62-turbo.changes +++ b/libjpeg62-turbo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 18 10:07:29 UTC 2017 - bwiedemann@suse.com + +- set build date to enable reproducible builds + ------------------------------------------------------------------- Wed Sep 21 10:50:36 UTC 2016 - idonmez@suse.com diff --git a/libjpeg62-turbo.spec b/libjpeg62-turbo.spec index 3696233..186a232 100644 --- a/libjpeg62-turbo.spec +++ b/libjpeg62-turbo.spec @@ -87,7 +87,8 @@ files using the libjpeg library. %build export LDFLAGS="-Wl,-z,relro,-z,now" -%configure --disable-static +%configure --disable-static \ + --with-build-date=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d) make %{?_smp_mflags} %check