automatic version update by autodist [release 1.7.0-1mamba;Sat Dec 28 2024]

This commit is contained in:
Automatic Build System 2025-01-03 18:40:04 +01:00
parent bbe6c682e1
commit bcd32dcea7

View File

@ -9,7 +9,7 @@
%define unix2_ver 2.6 %define unix2_ver 2.6
Name: pam Name: pam
Version: 1.6.1 Version: 1.7.0
Release: 1mamba Release: 1mamba
Summary: Utilities for monitoring your system and processes on your system Summary: Utilities for monitoring your system and processes on your system
Group: System/Libraries Group: System/Libraries
@ -104,34 +104,15 @@ This package contains the documentation files in html, pdf and postscript format
%patch 2 -p1 %patch 2 -p1
%patch 3 -p1 %patch 3 -p1
%patch 4 -p1 %patch 4 -p1
# FIXME: disable pdf generation until fop is fixed (since 1.5.2-2mamba)
sed -i "s|\[fop\]|[fop_does_not_work]|" configure.ac
./autogen.sh
%build %build
%configure \ %meson
--includedir=%{_includedir}/security \
--disable-prelude \
--enable-cracklib \
--with-mailspool=/var/mail \
--disable-db
# --with-db-uniquename=db53 \ %meson_build
# --enable-both-confs
%if "%{_host}" != "%{_build}"
%make || %make
%else
%make BROWSER="/usr/bin/elinks -no-numbering -no-references -dump"
%endif
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \ %meson_install
includedir=%{_includedir}/security \
namespaceddir=%{buildroot}%{_sysconfdir}/security \
servicedir=%{_unitdir} \
sepermitlockdir=%{buildroot}%{_localstatedir}/run/sepermit
install -D -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/other install -D -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/other
install -D -m 644 %{S:3} %{buildroot}%{_sysconfdir}/pam.d/system-auth install -D -m 644 %{S:3} %{buildroot}%{_sysconfdir}/pam.d/system-auth
@ -188,14 +169,6 @@ fi
%systemd_postun pam_namespace %systemd_postun pam_namespace
: :
%post -n libpam
/sbin/ldconfig
:
%postun -n libpam
/sbin/ldconfig
:
%posttrans %posttrans
sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-noshell} sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-noshell}
: :
@ -215,8 +188,6 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
%{_sbindir}/faillock %{_sbindir}/faillock
%{_sbindir}/unix_update %{_sbindir}/unix_update
%{_sbindir}/pam_namespace_helper %{_sbindir}/pam_namespace_helper
#%{_sbindir}/pam_tally
#%{_sbindir}/pam_tally2
%{_sbindir}/pam_timestamp_check %{_sbindir}/pam_timestamp_check
%{_sbindir}/pwhistory_helper %{_sbindir}/pwhistory_helper
%{_sbindir}/mkhomedir_helper %{_sbindir}/mkhomedir_helper
@ -238,7 +209,7 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
%{_libdir}/pkgconfig/pam*.pc %{_libdir}/pkgconfig/pam*.pc
%{_rpmmacrodir}/macros.pam %{_rpmmacrodir}/macros.pam
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%doc CHANGELOG README* %doc README*
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
@ -246,6 +217,9 @@ sed -i "s|pam_cracklib.so|pam_pwquality.so|" %{_sysconfdir}/pam.d/system-auth{,-
%{_docdir}/Linux-PAM/* %{_docdir}/Linux-PAM/*
%changelog %changelog
* Sat Dec 28 2024 Automatic Build System <autodist@openmamba.org> 1.7.0-1mamba
- automatic version update by autodist
* Wed Apr 10 2024 Automatic Build System <autodist@openmamba.org> 1.6.1-1mamba * Wed Apr 10 2024 Automatic Build System <autodist@openmamba.org> 1.6.1-1mamba
- automatic version update by autodist - automatic version update by autodist