#25 Split shared libraries into pam-libs package
Merged 2 years ago by besser82. Opened 2 years ago by besser82.
rpms/ besser82/pam topic/besser82/pam_libs_pkg  into  rawhide

file modified
+22 -5
@@ -4,7 +4,7 @@ 

  Summary: An extensible library which provides authentication for applications

  Name: pam

  Version: 1.5.2

- Release: 10%{?dist}

+ Release: 11%{?dist}

  # The library is BSD licensed with option to relicense as GPLv2+

  # - this option is redundant as the BSD license allows that anyway.

  # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
@@ -32,6 +32,7 @@ 

  Requires: libpwquality%{?_isa}

  Requires: setup

  Requires: authselect >= 1.3

+ Requires: pam-libs%{?_isa} = %{version}-%{release}

  

  ### Build Dependencies ###

  BuildRequires: audit-libs-devel
@@ -64,7 +65,7 @@ 

  

  %package devel

  Summary: Files needed for developing PAM-aware applications and modules for PAM

- Requires: pam%{?_isa} = %{version}-%{release}

+ Requires: pam-libs%{?_isa} = %{version}-%{release}

  

  %description devel

  PAM (Pluggable Authentication Modules) is a system security tool that
@@ -92,6 +93,15 @@ 

  contains extra documentation for PAM. Currently, this includes additional

  documentation in txt and html format.

  

+ %package libs

+ Summary: Shared libraries of the PAM package

+ 

+ %description libs

+ 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-libs

+ contains the shared libraries for PAM.

+ 

  %prep

  %setup -q -n Linux-PAM-%{version} -a 2

  perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" build-aux/config.sub
@@ -235,9 +245,6 @@ 

  %config(noreplace) %{_pam_confdir}/other

  %config(noreplace) %{_pam_confdir}/config-util

  %{_rpmconfigdir}/macros.d/macros.%{name}

- %{_pam_libdir}/libpam.so.%{so_ver}*

- %{_pam_libdir}/libpamc.so.%{so_ver}*

- %{_pam_libdir}/libpam_misc.so.%{so_ver}*

  %{_sbindir}/pam_console_apply

  %{_sbindir}/pam_namespace_helper

  %{_sbindir}/faillock
@@ -341,7 +348,17 @@ 

  %files doc

  %doc %{_pkgdocdir}

  

+ %files libs

+ %license Copyright

+ %license gpl-2.0.txt

+ %{_pam_libdir}/libpam.so.%{so_ver}*

+ %{_pam_libdir}/libpamc.so.%{so_ver}*

+ %{_pam_libdir}/libpam_misc.so.%{so_ver}*

+ 

  %changelog

+ * Thu Feb 17 2022 Björn Esser <besser82@fedoraproject.org> - 1.5.2-11

+ - Split shared libraries into pam-libs package (#2055572)

+ 

  * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org>

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

  

Pull-Request has been merged by besser82

2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Metadata