From 5f4c72ab483c818af392ec14193e46767894128c81d8694b8c5cef3251c60819 Mon Sep 17 00:00:00 2001 From: "P. Janouch" Date: Mon, 16 May 2016 14:30:25 +0000 Subject: [PATCH] - make the -hmac package depend on the same version of the library, fixing bsc#979629 FIPS: system fails to reboot after installing fips pattern OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=81 --- libgcrypt.changes | 7 +++++++ libgcrypt.spec | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libgcrypt.changes b/libgcrypt.changes index 9de1073..05e34ed 100644 --- a/libgcrypt.changes +++ b/libgcrypt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon May 16 12:36:14 UTC 2016 - pjanouch@suse.de + +- make the -hmac package depend on the same version of the library, + fixing bsc#979629 FIPS: system fails to reboot after installing + fips pattern + ------------------------------------------------------------------- Tue Feb 9 20:51:59 UTC 2016 - astieger@suse.com diff --git a/libgcrypt.spec b/libgcrypt.spec index 565f8cf..07a937b 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -96,6 +96,7 @@ GnuPG (alpha version). Summary: HMAC checksums for the GNU Crypto Library License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/C and C++ +Requires: %{libsoname} = %{version} %description -n %{libsoname}-hmac Libgcrypt is a general purpose crypto library based on the code used in @@ -131,7 +132,6 @@ Requires: %{libsoname}-hmac CAVS testing framework for libgcrypt %if 0%{?separate_hmac256_binary} - %package hmac256 Summary: The GNU Crypto Library License: GPL-2.0+ and LGPL-2.1+ @@ -180,7 +180,7 @@ 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}) +date=$(date -u +%Y-%m-%dT%H:%M+0000 -r %{SOURCE99}) sed -e "s,BUILD_TIMESTAMP=.*,BUILD_TIMESTAMP=$date," -i configure export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)" %configure --with-pic \ @@ -275,7 +275,6 @@ mv %{buildroot}%{_bindir}/drbg_test %{buildroot}%{cavs_dir} %{_datadir}/aclocal/%{name}.m4 %if 0%{?separate_hmac256_binary} - %files hmac256 %defattr(-,root,root) %endif # %if 0%{?separate_hmac256_binary}