install rpm macros file [release 1.5.2-3mamba;Mon Nov 21 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:23:29 +01:00
parent ea080b7f97
commit 950830a4d5
2 changed files with 13 additions and 1 deletions

5
macros.pam Normal file
View File

@ -0,0 +1,5 @@
%_pam_libdir %{_libdir}
%_pam_moduledir %{_libdir}/security
%_pam_secconfdir %{_sysconfdir}/security
%_pam_confdir %{_sysconfdir}/pam.d
%_pam_vendordir %{_datadir}/pam.d

View File

@ -10,7 +10,7 @@
Name: pam
Version: 1.5.2
Release: 2mamba
Release: 3mamba
Summary: Utilities for monitoring your system and processes on your system
Group: System/Libraries
Vendor: openmamba
@ -29,6 +29,7 @@ Source8: pam-system-auth-noshell
Source9: ftp://ftp.suse.com/pub/people/kukuk/pam/pam_pwcheck/pam_pwcheck-%{pwcheck_ver}.tar.bz2
Source10: ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2/pam_unix2-%{unix2_ver}.tar.bz2
Source11: pam-group.conf
Source12: macros.pam
Patch0: %{name}-0.77-pam_unix2.conf
Patch1: %{name}-0.99.7.1-cracklib_module.patch
Patch2: %{name}-1.1.3-limits.patch
@ -149,6 +150,8 @@ done
ln -s system-auth %{buildroot}%{_sysconfdir}/pam.d/password-auth
install -D -m0644 %{SOURCE12} %{buildroot}%{_rpmmacrodir}/macros.pam
#install -d -m0755 %{buildroot}%{_prefix}/lib/pam.d
#install -m 644 conf/pam.conf pam.conf-example
@ -252,6 +255,7 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
%{_includedir}/security/*.h
%{_libdir}/libpam*.so
%{_libdir}/pkgconfig/pam*.pc
%{_rpmmacrodir}/macros.pam
%{_mandir}/man3/*.3*
%doc CHANGELOG README*
@ -261,6 +265,9 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
%{_docdir}/Linux-PAM/*
%changelog
* Mon Nov 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-3mamba
- install rpm macros file
* Wed Nov 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-2mamba
- fix include dir in pkgconfig files
- restore pam-doc and move documentation files from main pam package