From 63007cd171c51c6d2276b8879428dde9c2e4699cfe7c24709012fc4e0d48bc1c Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Wed, 6 Jul 2016 16:37:59 +0000 Subject: [PATCH] osc copypac from project:home:wolfi323:test package:kscreenlocker revision:3 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kscreenlocker?expand=0&rev=40 --- kscreenlocker.changes | 6 ++++++ kscreenlocker.spec | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/kscreenlocker.changes b/kscreenlocker.changes index 778882d..012e7da 100644 --- a/kscreenlocker.changes +++ b/kscreenlocker.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 5 20:32:40 UTC 2016 - wbauer@tmo.at + +- Use the new %kf5_find_lang macro to create the file list for the + lang package + ------------------------------------------------------------------- Thu Jun 30 12:02:23 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/kscreenlocker.spec b/kscreenlocker.spec index e96f598..c1fb93c 100644 --- a/kscreenlocker.spec +++ b/kscreenlocker.spec @@ -93,11 +93,14 @@ Development files for Library and components for secure lock screen architecture %endif %build - %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %kf5_makeinstall -C build +%if %{with lang} + %kf5_find_lang +%endif %post # boo#931296 @@ -110,10 +113,8 @@ Development files for Library and components for secure lock screen architecture %postun -n libKScreenLocker5 -p /sbin/ldconfig %if %{with lang} -%files lang -%defattr(-,root,root) +%files lang -f %{name}.lang %doc COPYING* -%{_kf5_localedir}/ %endif %files