- split hmac subpackages to match SLE's packaging

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nss?expand=0&rev=286
This commit is contained in:
Wolfgang Rosenauer 2019-08-03 08:03:51 +00:00 committed by Git OBS Bridge
parent a83d017926
commit 0c5b621204
3 changed files with 38 additions and 5 deletions

View File

@ -5,9 +5,11 @@ mozilla-nss
requires "mozilla-nss-certs-<targettype>" requires "mozilla-nss-certs-<targettype>"
libsoftokn3 libsoftokn3
requires "libfreebl3-<targettype> = <version>" requires "libfreebl3-<targettype> = <version>"
libsoftokn3-hmac
+/usr/lib/libsoftokn3.chk +/usr/lib/libsoftokn3.chk
+/usr/lib/libnssdbm3.chk +/usr/lib/libnssdbm3.chk
libfreebl3 libfreebl3
libfreebl3-hmac
+/lib/libfreebl3.chk +/lib/libfreebl3.chk
+/lib/libfreeblpriv3.chk +/lib/libfreeblpriv3.chk
mozilla-nss-sysinit mozilla-nss-sysinit

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 14:43:24 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
- split hmac subpackages to match SLE's packaging
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 22 07:13:42 UTC 2019 - Martin Liška <mliska@suse.cz> Mon Jul 22 07:13:42 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -2,7 +2,7 @@
# spec file for package mozilla-nss # spec file for package mozilla-nss
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2006-2018 Wolfgang Rosenauer # Copyright (c) 2006-2019 Wolfgang Rosenauer
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -129,7 +129,7 @@ any system or user configured modules.
%package -n libfreebl3 %package -n libfreebl3
Summary: Freebl library for the Network Security Services Summary: Freebl library for the Network Security Services
Group: System/Libraries Group: System/Libraries
Provides: libfreebl3-hmac Recommends: libfreebl3-hmac = %{version}-%{release}
%description -n libfreebl3 %description -n libfreebl3
Network Security Services (NSS) is a set of libraries designed to Network Security Services (NSS) is a set of libraries designed to
@ -141,11 +141,21 @@ certificates, and other security standards.
This package installs the freebl library from NSS. This package installs the freebl library from NSS.
%package -n libfreebl3-hmac
Summary: Freebl library checksums for the Network Security Services
Group: System/Libraries
Requires: libfreebl3 = %{version}-%{release}
%description -n libfreebl3-hmac
Checksums for libraries contained in the libfreebl3 package
used in the FIPS 140-2 mode.
%package -n libsoftokn3 %package -n libsoftokn3
Summary: Network Security Services Softoken Module Summary: Network Security Services Softoken Module
Group: System/Libraries Group: System/Libraries
Requires: libfreebl3 = %{version}-%{release} Requires: libfreebl3 = %{version}-%{release}
Provides: libsoftokn3-hmac Recommends: libsoftokn3-hmac = %{version}-%{release}
%description -n libsoftokn3 %description -n libsoftokn3
Network Security Services (NSS) is a set of libraries designed to Network Security Services (NSS) is a set of libraries designed to
@ -157,6 +167,16 @@ certificates, and other security standards.
Network Security Services Softoken Cryptographic Module Network Security Services Softoken Cryptographic Module
%package -n libsoftokn3-hmac
Summary: Network Security Services Softoken Module checksums
Group: System/Libraries
Requires: libsoftokn3 = %{version}-%{release}
%description -n libsoftokn3-hmac
Checksums for libraries contained in the libsoftokn3 package
used in the FIPS 140-2 mode.
%package certs %package certs
Summary: CA certificates for NSS Summary: CA certificates for NSS
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
@ -390,15 +410,21 @@ fi
%files -n libfreebl3 %files -n libfreebl3
%defattr(-, root, root) %defattr(-, root, root)
/%{_lib}/libfreebl3.so /%{_lib}/libfreebl3.so
/%{_lib}/libfreebl3.chk
/%{_lib}/libfreeblpriv3.so /%{_lib}/libfreeblpriv3.so
%files -n libfreebl3-hmac
%defattr(-, root, root)
/%{_lib}/libfreebl3.chk
/%{_lib}/libfreeblpriv3.chk /%{_lib}/libfreeblpriv3.chk
%files -n libsoftokn3 %files -n libsoftokn3
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libsoftokn3.so %{_libdir}/libsoftokn3.so
%{_libdir}/libsoftokn3.chk
%{_libdir}/libnssdbm3.so %{_libdir}/libnssdbm3.so
%files -n libsoftokn3-hmac
%defattr(-, root, root)
%{_libdir}/libsoftokn3.chk
%{_libdir}/libnssdbm3.chk %{_libdir}/libnssdbm3.chk
%files certs %files certs