diff --git a/gpgme.changes b/gpgme.changes index 7314c3b..ac0305e 100644 --- a/gpgme.changes +++ b/gpgme.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 3 16:40:23 UTC 2015 - coolo@suse.com + +- making the build reproducible - see + http://lists.gnupg.org/pipermail/gnupg-commits/2014-September/010683.html + for a very similiar problem + ------------------------------------------------------------------- Fri Dec 26 21:32:45 UTC 2014 - andreas.stieger@gmx.de diff --git a/gpgme.spec b/gpgme.spec index 3ecf22d..68d8444 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -1,7 +1,7 @@ # # spec file for package gpgme # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Source: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2.sig Source2: baselibs.conf Source3: gpgme.keyring +# used to have a fixed timestamp +Source99: %{name}.changes BuildRequires: gpg2 >= 2.0.10 BuildRequires: libassuan-devel >= 2.0.2 BuildRequires: libgpg-error-devel >= 1.11 @@ -98,6 +100,8 @@ of standard widgets for common key selection tasks is even planned. %setup -q %build +date=$(date -u +%Y-%m-%dT%H:%M+0000 -r %{S:99}) +sed -e "s,BUILD_TIMESTAMP=.*,BUILD_TIMESTAMP=$date," -i configure %configure \ --disable-static \ --disable-fd-passing