diff --git a/baselibs.conf b/baselibs.conf index c2c4297..166beb0 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,7 @@ libgcrypt20 obsoletes "libgcrypt- <= " provides "libgcrypt- = " +libgcrypt20-hmac libgcrypt-devel requires -libgcrypt- requires "libgcrypt20- = " diff --git a/libgcrypt.changes b/libgcrypt.changes index 3e19de1..571f1b2 100644 --- a/libgcrypt.changes +++ b/libgcrypt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 12 07:43:19 UTC 2014 - meissner@suse.com + +- split off the -hmac package that contains the checksums + ------------------------------------------------------------------- Mon May 26 12:05:17 UTC 2014 - meissner@suse.com diff --git a/libgcrypt.spec b/libgcrypt.spec index 1f5e8a5..acee48a 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -83,6 +83,16 @@ Group: Development/Libraries/C and C++ Libgcrypt is a general purpose crypto library based on the code used in GnuPG (alpha version). +%package -n %{libsoname}-hmac +Summary: HMAC checksums for the GNU Crypto Library +License: GPL-2.0+ and LGPL-2.1+ +Group: Development/Libraries/C and C++ + +%description -n %{libsoname}-hmac +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). This package contains the HMAC checksum files +for integrity checking the library, as required by FIPS 140-2. + %package devel Summary: The GNU Crypto Library License: GFDL-1.1 and GPL-2.0+ and LGPL-2.1+ and MIT @@ -216,6 +226,9 @@ rm %{buildroot}%{_libdir}/%{name}.la %defattr(-,root,root) %doc COPYING.LIB %{_libdir}/%{name}.so.* + +%files -n %{libsoname}-hmac +%defattr(-,root,root) %if 0%{?build_hmac256} %{_libdir}/.libgcrypt.so.*.hmac %endif # %if 0%{?build_hmac256} @@ -234,6 +247,7 @@ rm %{buildroot}%{_libdir}/%{name}.la %{_datadir}/aclocal/%{name}.m4 %if 0%{?separate_hmac256_binary} + %files hmac256 %defattr(-,root,root) %endif # %if 0%{?separate_hmac256_binary}