Create bind-dnssec-doc subpackage

Move there all manual pages of bind-dnssec-utils. They can be then
shared by bind-pkcs11-utils with just one package owning them.
This commit is contained in:
Petr Menšík 2020-09-15 19:48:36 +02:00
parent 4158647a7a
commit aa13488713

View File

@ -219,6 +219,7 @@ For other supported HSM modules please check the BIND documentation.
Summary: Bind tools with native PKCS#11 for using DNSSEC Summary: Bind tools with native PKCS#11 for using DNSSEC
Requires: bind-pkcs11-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-pkcs11-libs%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: bind-pkcs11 < 32:9.9.4-16.P2 Obsoletes: bind-pkcs11 < 32:9.9.4-16.P2
Requires: bind-dnssec-doc = %{epoch}:%{version}-%{release}
%description pkcs11-utils %description pkcs11-utils
This is a set of PKCS#11 utilities that when used together create rsa This is a set of PKCS#11 utilities that when used together create rsa
@ -286,10 +287,11 @@ You should install bind-utils if you need to get information from DNS name
servers. servers.
%package dnssec-utils %package dnssec-utils
Summary: Utilities for DNSSEC keys and DNS zone files management Summary: DNSSEC keys and zones management utilities
Requires: bind-libs-lite%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-libs-lite%{?_isa} = %{epoch}:%{version}-%{release}
Recommends: bind-utils Recommends: bind-utils
Requires: python3-bind = %{epoch}:%{version}-%{release} Requires: python3-bind = %{epoch}:%{version}-%{release}
Requires: bind-dnssec-doc = %{epoch}:%{version}-%{release}
%description dnssec-utils %description dnssec-utils
Bind-dnssec-utils contains a collection of utilities for editing Bind-dnssec-utils contains a collection of utilities for editing
@ -299,6 +301,14 @@ revocation and verification of keys and DNSSEC signatures in zone files.
You should install bind-dnssec-utils if you need to sign a DNS zone You should install bind-dnssec-utils if you need to sign a DNS zone
or maintain keys for it. or maintain keys for it.
%package dnssec-doc
Summary: Manual pages of DNSSEC utilities
Requires: bind-license = %{epoch}:%{version}-%{release}
BuildArch:noarch
%description dnssec-doc
Bind-dnssec-doc contains manual pages for bind-dnssec-utils.
%package devel %package devel
Summary: Header files and libraries needed for BIND DNS development Summary: Header files and libraries needed for BIND DNS development
Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: bind-libs%{?_isa} = %{epoch}:%{version}-%{release}
@ -1026,9 +1036,13 @@ fi;
%files dnssec-utils %files dnssec-utils
%{_sbindir}/dnssec* %{_sbindir}/dnssec*
%{_mandir}/man8/dnssec*.8*
%if %{with PKCS11} %if %{with PKCS11}
%exclude %{_sbindir}/dnssec*pkcs11 %exclude %{_sbindir}/dnssec*pkcs11
%endif
%files dnssec-doc
%{_mandir}/man8/dnssec*.8*
%if %{with PKCS11}
%exclude %{_mandir}/man8/dnssec*-pkcs11.8* %exclude %{_mandir}/man8/dnssec*-pkcs11.8*
%endif %endif
@ -1104,9 +1118,6 @@ fi;
%{_sbindir}/pkcs11-tokens %{_sbindir}/pkcs11-tokens
%{_mandir}/man8/pkcs11*.8* %{_mandir}/man8/pkcs11*.8*
%{_mandir}/man8/dnssec*-pkcs11.8* %{_mandir}/man8/dnssec*-pkcs11.8*
%{_mandir}/man8/dnssec*.8*
%exclude %{_mandir}/man8/dnssec-coverage.8*
%exclude %{_mandir}/man8/dnssec-keymgr.8*
%files pkcs11-libs %files pkcs11-libs
%{_libdir}/libdns-pkcs11.so.%{sover_dns}* %{_libdir}/libdns-pkcs11.so.%{sover_dns}*