diff --git a/kde-gtk-config5-rpmlintrc b/kde-gtk-config5-rpmlintrc deleted file mode 100644 index cc4ae51..0000000 --- a/kde-gtk-config5-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-gtk-config5.changes b/kde-gtk-config5.changes index 1140a75..230c508 100644 --- a/kde-gtk-config5.changes +++ b/kde-gtk-config5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 5 11:17:06 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:20 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/kde-gtk-config5.spec b/kde-gtk-config5.spec index 641a2e4..c0a61df 100644 --- a/kde-gtk-config5.spec +++ b/kde-gtk-config5.spec @@ -28,7 +28,6 @@ Source1: kde_gtk_config.suse.sh Source2: gtkrc-2.0-kde4.template Source3: gtk3-settings.ini-kde4.template Source: kde-gtk-config-%{version}.tar.xz -Source99: kde-gtk-config5-rpmlintrc BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: kf5-filesystem BuildRequires: xz @@ -74,11 +73,14 @@ Among its many features, it lets you: %setup -q -n kde-gtk-config-%{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 install -Dpm 0755 %{SOURCE1} %{buildroot}%{_kf5_configdir}/plasma-workspace/env/kde_gtk_config.suse.sh install -Dpm 0644 %{SOURCE2} %{buildroot}%{_kf5_sharedir}/%{name}/gtkrc-2.0-kde4.template @@ -103,9 +105,7 @@ install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings. %{_kf5_sharedir}/icons/hicolor/*/*/*.* %if %{with lang} -%files lang -%defattr(-,root,root) -%{_kf5_localedir}/ +%files lang -f %{name}.lang %endif %changelog