From 12e231fbdc384f137f4cbac584613506bb88571879d66a089d9057d06f06d321 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Wed, 6 Jul 2016 16:38:09 +0000 Subject: [PATCH] osc copypac from project:home:wolfi323:test package:libksysguard5 revision:13 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/libksysguard5?expand=0&rev=92 --- libksysguard5-rpmlintrc | 2 -- libksysguard5.changes | 7 +++++++ libksysguard5.spec | 10 +++++----- 3 files changed, 12 insertions(+), 7 deletions(-) delete mode 100644 libksysguard5-rpmlintrc diff --git a/libksysguard5-rpmlintrc b/libksysguard5-rpmlintrc deleted file mode 100644 index cc4ae51..0000000 --- a/libksysguard5-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/libksysguard5.changes b/libksysguard5.changes index acc808d..09a4548 100644 --- a/libksysguard5.changes +++ b/libksysguard5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 5 11:42:21 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:27 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/libksysguard5.spec b/libksysguard5.spec index 3a53196..0ddbb72 100644 --- a/libksysguard5.spec +++ b/libksysguard5.spec @@ -26,7 +26,6 @@ Group: Development/Libraries/C and C++ Url: http://www.kde.org Source: libksysguard-%{version}.tar.xz Source1: baselibs.conf -Source99: %{name}-rpmlintrc BuildRequires: extra-cmake-modules >= 1.2.0 BuildRequires: kf5-filesystem BuildRequires: xz @@ -89,11 +88,14 @@ for actions that require elevated privileges. %setup -q -n libksysguard-%{version} %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 %post -p /sbin/ldconfig @@ -129,9 +131,7 @@ for actions that require elevated privileges. %{_kf5_libdir}/libprocessui.so %if %{with lang} -%files lang -%defattr(-,root,root) -%{_kf5_localedir}/ +%files lang -f %{name}.lang %endif %changelog