diff --git a/pam.spec b/pam.spec index 49b3892..2678f4b 100644 --- a/pam.spec +++ b/pam.spec @@ -77,19 +77,22 @@ having to recompile programs that handle authentication. This package contains header files used for building both PAM-aware applications and modules for use with the PAM system. -%package docs +%package doc 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-style-xsl BuildRequires: elinks BuildRequires: libxslt BuildRequires: linuxdoc-tools -%description docs +%description doc PAM (Pluggable Authentication Modules) is a system security tool that 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 documentation in txt and html format. @@ -343,7 +346,7 @@ done %doc doc/adg/*.txt doc/adg/html %doc doc/specs/rfc86.0.txt -%files docs +%files doc %doc doc/txts %doc doc/sag/*.txt doc/sag/html @@ -365,6 +368,7 @@ exit 0 %changelog * Wed Oct 06 2021 Björn Esser - 1.5.2-6 - Remove old cruft from spec file +- Rename docs sub-package to doc * Thu Sep 23 2021 Björn Esser - 1.5.2-5 - Rebase to pam-redhat-1.1.5