Accepting request 994058 from home:kukuk:branches:KDE:Frameworks5

- Use %_pam_vendordir

OBS-URL: https://build.opensuse.org/request/show/994058
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kscreenlocker?expand=0&rev=296
This commit is contained in:
Fabian Vogt 2022-08-09 13:29:57 +00:00 committed by Git OBS Bridge
parent 9d4cc41e59
commit 6920bf5898
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 9 09:43:19 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Use %_pam_vendordir
-------------------------------------------------------------------
Tue Aug 2 14:07:10 UTC 2022 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -16,7 +16,7 @@
#
%{!?_distconfdir:%global _distconfdir %_sysconfdir}
%{!?_pam_vendordir:%global _pam_vendordir %_sysconfdir/pam.d}
%bcond_without released
Name: kscreenlocker
@ -97,7 +97,7 @@ Development files for Library and components for secure lock screen architecture
%install
# Ship our own file to not depend on a display manager being installed (boo#1108329)
install -D -m0644 %{SOURCE3} %{buildroot}%{_distconfdir}/pam.d/kde
install -D -m0644 %{SOURCE3} %{buildroot}%{_pam_vendordir}/kde
%kf5_makeinstall -C build
%if %{with released}
%kf5_find_lang
@ -130,7 +130,7 @@ exit 0
%files
%license COPYING*
%{_distconfdir}/pam.d/kde
%{_pam_vendordir}/kde
%{_kf5_applicationsdir}/kcm_screenlocker.desktop
%{_kf5_sharedir}/kconf_update/
%{_kf5_plugindir}/