Rename docs sub-package to doc

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
This commit is contained in:
Björn Esser 2021-10-06 22:09:19 +02:00
parent ca98dae9da
commit 4d6342409b
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -77,19 +77,22 @@ having to recompile programs that handle authentication. This package
contains header files used for building both PAM-aware applications contains header files used for building both PAM-aware applications
and modules for use with the PAM system. and modules for use with the PAM system.
%package docs %package doc
Summary: Extra documentation for PAM. Summary: Extra documentation for PAM.
Requires: pam%{?_isa} = %{version}-%{release} Requires: pam = %{version}-%{release}
Obsoletes: pam-docs < 1.5.2-6
Provides: pam-docs = %{version}-%{release}
BuildArch: noarch
BuildRequires: docbook-dtds BuildRequires: docbook-dtds
BuildRequires: docbook-style-xsl BuildRequires: docbook-style-xsl
BuildRequires: elinks BuildRequires: elinks
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: linuxdoc-tools BuildRequires: linuxdoc-tools
%description docs %description doc
PAM (Pluggable Authentication Modules) is a system security tool that PAM (Pluggable Authentication Modules) is a system security tool that
allows system administrators to set authentication policy without allows system administrators to set authentication policy without
having to recompile programs that handle authentication. The pam-docs having to recompile programs that handle authentication. The pam-doc
contains extra documentation for PAM. Currently, this includes additional contains extra documentation for PAM. Currently, this includes additional
documentation in txt and html format. documentation in txt and html format.
@ -343,7 +346,7 @@ done
%doc doc/adg/*.txt doc/adg/html %doc doc/adg/*.txt doc/adg/html
%doc doc/specs/rfc86.0.txt %doc doc/specs/rfc86.0.txt
%files docs %files doc
%doc doc/txts %doc doc/txts
%doc doc/sag/*.txt doc/sag/html %doc doc/sag/*.txt doc/sag/html
@ -365,6 +368,7 @@ exit 0
%changelog %changelog
* Wed Oct 06 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-6 * Wed Oct 06 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-6
- Remove old cruft from spec file - Remove old cruft from spec file
- Rename docs sub-package to doc
* Thu Sep 23 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-5 * Thu Sep 23 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-5
- Rebase to pam-redhat-1.1.5 - Rebase to pam-redhat-1.1.5