diff --git a/libgcrypt.changes b/libgcrypt.changes index df01bd7..6169fca 100644 --- a/libgcrypt.changes +++ b/libgcrypt.changes @@ -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 diff --git a/libgcrypt.spec b/libgcrypt.spec index 2643d70..02a54bf 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -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)