diff --git a/kde-cli-tools5-rpmlintrc b/kde-cli-tools5-rpmlintrc deleted file mode 100644 index cc4ae51..0000000 --- a/kde-cli-tools5-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -# we don't use find_lang macro as it doesn't searches in subdirectories -addFilter("file-not-in-%lang .*") \ No newline at end of file diff --git a/kde-cli-tools5.changes b/kde-cli-tools5.changes index 556dbc2..4a1e790 100644 --- a/kde-cli-tools5.changes +++ b/kde-cli-tools5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 5 11:13:41 UTC 2016 - wbauer@tmo.at + +- Use the new %kf5_find_lang macro to create the file list for the + lang package +- Remove rpmlintrc file, it is not needed any more now + ------------------------------------------------------------------- Thu Jun 30 12:02:19 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/kde-cli-tools5.spec b/kde-cli-tools5.spec index 46ee9a7..6a6324e 100644 --- a/kde-cli-tools5.spec +++ b/kde-cli-tools5.spec @@ -25,7 +25,6 @@ License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org Source: kde-cli-tools-%{version}.tar.xz -Source99: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE kdesu-add-some-i18n-love.patch -- boo#852256 Patch0: kdesu-add-some-i18n-love.patch BuildRequires: extra-cmake-modules >= 1.3.0 @@ -66,11 +65,14 @@ Additional CLI tools for KDE applications and workspaces. %patch0 -p1 %build - %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %kf5_makeinstall -C build +%if %{with lang} + %kf5_find_lang +%endif # create a dummy target for /etc/alternatives/kdesu install -d -m 755 %{buildroot}%{_sysconfdir}/alternatives/ @@ -124,9 +126,7 @@ fi %{_kf5_mandir}/man1/kdesu*.* %if %{with lang} -%files lang -%defattr(-,root,root) -%{_kf5_localedir}/ +%files lang -f %{name}.lang %endif %changelog