forked from pool/screen
Accepting request 1043410 from home:gmbr3:Active
- Use %_pam_vendordir OBS-URL: https://build.opensuse.org/request/show/1043410 OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=100
This commit is contained in:
parent
8bb49c9864
commit
309d5e4c81
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 16 22:18:05 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Use %_pam_vendordir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 14:28:14 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||
|
||||
|
@ -89,7 +89,7 @@ mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen
|
||||
chmod 755 %{buildroot}%{_bindir}/screen
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
%if 0%{?suse_version} > 1500
|
||||
mkdir -p %{buildroot}%{_distconfdir}/pam.d
|
||||
mkdir -p %{buildroot}%{_pam_vendordir}
|
||||
%else
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
|
||||
%endif
|
||||
@ -101,7 +101,7 @@ mkdir -p %{buildroot}%{rundir}/uscreens
|
||||
install -m 644 screenrc %{buildroot}%{_sysconfdir}/screenrc
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}
|
||||
%if 0%{?suse_version} > 1500
|
||||
install -m 644 %{SOURCE4} %{buildroot}%{_distconfdir}/pam.d/screen
|
||||
install -m 644 %{SOURCE4} %{buildroot}%{_pam_vendordir}/screen
|
||||
%else
|
||||
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/screen
|
||||
%endif
|
||||
@ -109,7 +109,7 @@ install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/screen
|
||||
%files
|
||||
%config %{_sysconfdir}/screenrc
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{_distconfdir}/pam.d/screen
|
||||
%{_pam_vendordir}/screen
|
||||
%else
|
||||
%config %{_sysconfdir}/pam.d/screen
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user