Accepting request 283930 from home:coolo:branches:openSUSE:Factory

- making the build reproducible - see 
  http://lists.gnupg.org/pipermail/gnupg-commits/2014-September/010683.html
  for a very similiar problem

OBS-URL: https://build.opensuse.org/request/show/283930
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=55
This commit is contained in:
Marcus Meissner 2015-02-05 10:58:10 +00:00 committed by Git OBS Bridge
parent cc66a4af62
commit dad8dc7150
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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