3
0
forked from pool/libgcrypt

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
This commit is contained in:
Marcus Meissner 2014-08-13 13:20:08 +00:00 committed by Git OBS Bridge
parent 31afb2af23
commit 2cd1fab710
3 changed files with 20 additions and 0 deletions

View File

@ -1,6 +1,7 @@
libgcrypt20 libgcrypt20
obsoletes "libgcrypt-<targettype> <= <version>" obsoletes "libgcrypt-<targettype> <= <version>"
provides "libgcrypt-<targettype> = <version>" provides "libgcrypt-<targettype> = <version>"
libgcrypt20-hmac
libgcrypt-devel libgcrypt-devel
requires -libgcrypt-<targettype> requires -libgcrypt-<targettype>
requires "libgcrypt20-<targettype> = <version>" requires "libgcrypt20-<targettype> = <version>"

View File

@ -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 Mon May 26 12:05:17 UTC 2014 - meissner@suse.com

View File

@ -83,6 +83,16 @@ Group: Development/Libraries/C and C++
Libgcrypt is a general purpose crypto library based on the code used in Libgcrypt is a general purpose crypto library based on the code used in
GnuPG (alpha version). 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 %package devel
Summary: The GNU Crypto Library Summary: The GNU Crypto Library
License: GFDL-1.1 and GPL-2.0+ and LGPL-2.1+ and MIT 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) %defattr(-,root,root)
%doc COPYING.LIB %doc COPYING.LIB
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.*
%files -n %{libsoname}-hmac
%defattr(-,root,root)
%if 0%{?build_hmac256} %if 0%{?build_hmac256}
%{_libdir}/.libgcrypt.so.*.hmac %{_libdir}/.libgcrypt.so.*.hmac
%endif # %if 0%{?build_hmac256} %endif # %if 0%{?build_hmac256}
@ -234,6 +247,7 @@ rm %{buildroot}%{_libdir}/%{name}.la
%{_datadir}/aclocal/%{name}.m4 %{_datadir}/aclocal/%{name}.m4
%if 0%{?separate_hmac256_binary} %if 0%{?separate_hmac256_binary}
%files hmac256 %files hmac256
%defattr(-,root,root) %defattr(-,root,root)
%endif # %if 0%{?separate_hmac256_binary} %endif # %if 0%{?separate_hmac256_binary}