diff --git a/breeze-rpmlintrc b/breeze-rpmlintrc deleted file mode 100644 index cc4ae51..0000000 --- a/breeze-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/breeze.changes b/breeze.changes index 2380aad..4de8f05 100644 --- a/breeze.changes +++ b/breeze.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 5 11:11:55 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:17 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/breeze.spec b/breeze.spec index d3022ce..4e927e9 100644 --- a/breeze.spec +++ b/breeze.spec @@ -50,7 +50,6 @@ Group: System/GUI/KDE Url: http://www.kde.org #Source: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz -Source99: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -102,17 +101,18 @@ This package provides Breeze KWin decoration. %setup -q %build - %cmake_kf5 -d build -- -DBUILD_po=OFF -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %cmake_kf5 -d build -- -DBUILD_po=OFF -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %kf5_makeinstall -C build +%if %{with lang} + %kf5_find_lang +%endif %if %{with lang} -%files -n breeze5-style-lang -%defattr(-,root,root) +%files -n breeze5-style-lang -f %{name}.lang %doc COPYING* -%{_kf5_localedir}/ %endif %files -n breeze5-cursors