SHA256
1
0
forked from pool/kbd

Accepting request 993690 from home:kukuk:branches:Base:System

- Use %_pam_vendordir

OBS-URL: https://build.opensuse.org/request/show/993690
OBS-URL: https://build.opensuse.org/package/show/Base:System/kbd?expand=0&rev=150
This commit is contained in:
Stanislav Brabec 2022-08-23 11:48:33 +00:00 committed by Git OBS Bridge
parent 2f84161ccc
commit cbef5f914a
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 06:54:58 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Use %_pam_vendordir
-------------------------------------------------------------------
Tue Mar 8 10:58:26 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -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