From 4d6342409ba19842e4c609843546772d3c575795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Wed, 6 Oct 2021 22:09:19 +0200 Subject: [PATCH] Rename docs sub-package to doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Esser --- pam.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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