From 2cd1fab7101e354e7d3043385be35e775d7d12eb9434f82dfa340995eb456939 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 13 Aug 2014 13:20:08 +0000 Subject: [PATCH] Accepting request 244328 from home:msmeissn:branches:devel:libraries:c_c++ - split off the -hmac package that contains the checksums OBS-URL: https://build.opensuse.org/request/show/244328 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=59 --- baselibs.conf | 1 + libgcrypt.changes | 5 +++++ libgcrypt.spec | 14 ++++++++++++++ 3 files changed, 20 insertions(+) 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}