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