From 309d5e4c81c3e6e9e91c85f568bd4325488695513241b1ece34946fee3f3c01f Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Mon, 19 Dec 2022 12:18:58 +0000 Subject: [PATCH] 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 --- screen.changes | 5 +++++ screen.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/screen.changes b/screen.changes index 8a2299e..5293ce8 100644 --- a/screen.changes +++ b/screen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 16 22:18:05 UTC 2022 - Callum Farmer + +- Use %_pam_vendordir + ------------------------------------------------------------------- Mon Dec 12 14:28:14 UTC 2022 - Stefan Schubert diff --git a/screen.spec b/screen.spec index d5cafe7..fc86916 100644 --- a/screen.spec +++ b/screen.spec @@ -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