Split shared libraries into pam-libs package (#2055572)
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
This commit is contained in:
parent
44b60c5643
commit
f769973015
27
pam.spec
27
pam.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: An extensible library which provides authentication for applications
|
Summary: An extensible library which provides authentication for applications
|
||||||
Name: pam
|
Name: pam
|
||||||
Version: 1.5.2
|
Version: 1.5.2
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
# The library is BSD licensed with option to relicense as GPLv2+
|
# The library is BSD licensed with option to relicense as GPLv2+
|
||||||
# - this option is redundant as the BSD license allows that anyway.
|
# - this option is redundant as the BSD license allows that anyway.
|
||||||
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
|
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
|
||||||
@ -32,6 +32,7 @@ Patch3: pam-1.3.0-unix-nomsg.patch
|
|||||||
Requires: libpwquality%{?_isa}
|
Requires: libpwquality%{?_isa}
|
||||||
Requires: setup
|
Requires: setup
|
||||||
Requires: authselect >= 1.3
|
Requires: authselect >= 1.3
|
||||||
|
Requires: pam-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
### Build Dependencies ###
|
### Build Dependencies ###
|
||||||
BuildRequires: audit-libs-devel
|
BuildRequires: audit-libs-devel
|
||||||
@ -64,7 +65,7 @@ having to recompile programs that handle authentication.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Files needed for developing PAM-aware applications and modules for PAM
|
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
|
%description devel
|
||||||
PAM (Pluggable Authentication Modules) is a system security tool that
|
PAM (Pluggable Authentication Modules) is a system security tool that
|
||||||
@ -92,6 +93,15 @@ 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.
|
||||||
|
|
||||||
|
%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
|
%prep
|
||||||
%setup -q -n Linux-PAM-%{version} -a 2
|
%setup -q -n Linux-PAM-%{version} -a 2
|
||||||
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" build-aux/config.sub
|
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" build-aux/config.sub
|
||||||
@ -235,9 +245,6 @@ done
|
|||||||
%config(noreplace) %{_pam_confdir}/other
|
%config(noreplace) %{_pam_confdir}/other
|
||||||
%config(noreplace) %{_pam_confdir}/config-util
|
%config(noreplace) %{_pam_confdir}/config-util
|
||||||
%{_rpmconfigdir}/macros.d/macros.%{name}
|
%{_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_console_apply
|
||||||
%{_sbindir}/pam_namespace_helper
|
%{_sbindir}/pam_namespace_helper
|
||||||
%{_sbindir}/faillock
|
%{_sbindir}/faillock
|
||||||
@ -341,7 +348,17 @@ done
|
|||||||
%files doc
|
%files doc
|
||||||
%doc %{_pkgdocdir}
|
%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
|
%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>
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org>
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user