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