Accepting request 983463 from home:kukuk:tiu

- Keep old directory in filelist for migration

OBS-URL: https://build.opensuse.org/request/show/983463
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=263
This commit is contained in:
Thorsten Kukuk 2022-06-17 15:30:56 +00:00 committed by Git OBS Bridge
parent c8e4e2b50f
commit 99fd8d508e
3 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,6 @@
%_pam_moduledir %{_libdir}/security
%_pam_secconfdir %{_sysconfdir}/security
%_pam_confdir %{_sysconfdir}/pam.d
%_pam_vendordir %{_usr}/lib/pam.d
%_pam_vendordir %{_prefix}/lib/pam.d
# legacy, to be retired
%_pamdir %{_pam_moduledir}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 17 15:26:20 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Keep old directory in filelist for migration
-------------------------------------------------------------------
Wed Jun 1 11:43:22 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -215,6 +215,8 @@ mkdir -p %{buildroot}%{_includedir}/security
mkdir -p %{buildroot}%{_pam_moduledir}
mkdir -p %{buildroot}/sbin
mkdir -p -m 755 %{buildroot}%{_libdir}
# For compat reasons
mkdir -p %{buildroot}%{_distconfdir}/pam.d
%make_install
/sbin/ldconfig -n %{buildroot}%{libdir}
# Install documentation
@ -314,6 +316,8 @@ done
%dir %{_pam_secconfdir}
%dir %{_pam_secconfdir}/limits.d
%dir %{_distconfdir}/security
# /usr/etc/pam.d is for compat reasons
%dir %{_distconfdir}/pam.d
%dir %{_prefix}/lib/motd.d
%if %{defined config_noreplace}
%config(noreplace) %{_pam_confdir}/other