diff --git a/kbd.changes b/kbd.changes index 095082a..ab7a39c 100644 --- a/kbd.changes +++ b/kbd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 06:54:58 UTC 2022 - Thorsten Kukuk + +- Use %_pam_vendordir + ------------------------------------------------------------------- Tue Mar 8 10:58:26 UTC 2022 - Guillaume GARDET diff --git a/kbd.spec b/kbd.spec index b84ef70..495fa81 100644 --- a/kbd.spec +++ b/kbd.spec @@ -280,8 +280,8 @@ install -m 755 numlockbios %{buildroot}%{_libexecdir}/%{name} %endif %if %{defined _distconfdir} rm -rf %{buildroot}%{_sysconfdir}/pam.d -install -d %{buildroot}%{_distconfdir}/pam.d -install -m 644 %{SOURCE4} %{buildroot}%{_distconfdir}/pam.d/vlock +install -d %{buildroot}%{_pam_vendordir} +install -m 644 %{SOURCE4} %{buildroot}%{_pam_vendordir}/vlock %else install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/vlock %endif @@ -527,7 +527,7 @@ test -f /etc/pam.d/vlock.rpmsave && mv -v /etc/pam.d/vlock.rpmsave /etc/pam.d/vl %{_mandir}/man8/setvtrgb.8%{ext_man} %{_mandir}/man8/vcstime.8%{ext_man} %if %{defined _distconfdir} -%{_distconfdir}/pam.d/vlock +%{_pam_vendordir}/vlock %else %config(noreplace) %{_sysconfdir}/pam.d/vlock %endif