Accepting request 639831 from home:bmwiedemann:branches:Base:System

Make package build reproducible (boo#1047218)

doc/mkdefsinc.c used the mtime for info file date

doc/Makefile.am:180 would empty defsincdate and thereby change date in man pages

OBS-URL: https://build.opensuse.org/request/show/639831
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=211
This commit is contained in:
Marcus Meissner 2018-10-09 09:24:41 +00:00 committed by Git OBS Bridge
parent 4a257d029e
commit 9327ae7cc9
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 4 04:09:12 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>
- Make package build reproducible (boo#1047218)
-------------------------------------------------------------------
Thu Aug 30 14:14:08 UTC 2018 - kbabioch@suse.com

View File

@ -86,6 +86,7 @@ gpg2 provides GPGSM, gpg-agent, and a keybox library.
%patch8 -p1
%patch9 -p1
%patch11 -p1
touch -d 2018-05-04 doc/gpg.texi # to compensate for patch11 in order to not have man pages and info files have the build date (boo#1047218)
%build
date=$(date -u +%%Y-%%m-%%dT%%H:%%M+0000 -r %{SOURCE99})