3
0
forked from pool/libgcrypt

Accepting request 284553 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

- fix filename for info pages in %post scripts

OBS-URL: https://build.opensuse.org/request/show/284553
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=67
This commit is contained in:
Stephan Kulow 2015-02-06 18:56:02 +00:00 committed by Git OBS Bridge
parent 7377b22af6
commit f3deb426aa
2 changed files with 20 additions and 5 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Feb 6 18:42:28 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 Feb 6 18:30:26 UTC 2015 - coolo@suse.com
- fix filename for info pages in %post scripts
-------------------------------------------------------------------
Wed Nov 5 20:37:24 UTC 2014 - andreas.stieger@gmx.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libgcrypt
#
# 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
@ -36,6 +36,7 @@ Source4: %{name}.keyring
# cavs test framework
Source5: cavs-test.sh
Source6: cavs_driver.pl
Source99: %{name}.changes
Patch0: %{name}-ppc64.patch
Patch1: %{name}-strict-aliasing.patch
Patch3: %{name}-1.4.1-rijndael_no_strict_aliasing.patch
@ -177,6 +178,8 @@ understanding of applied cryptography is required to use Libgcrypt.
echo building with build_hmac256 set to %{build_hmac256}
%{?suse_update_config}
autoreconf -fi
date=$(date -u +%Y-%m-%dT%H:%M+0000 -r %{S:99})
sed -e "s,BUILD_TIMESTAMP=.*,BUILD_TIMESTAMP=$date," -i configure
export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
%configure --with-pic \
--enable-noexecstack \
@ -243,13 +246,13 @@ mv %{buildroot}%{_bindir}/drbg_test %{buildroot}%{cavs_dir}
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt-1.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt-2.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info-1.gz
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info-2.gz
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt-1.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt-2.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info-1.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info-2.gz
%files -n %{libsoname}
%defattr(-,root,root)