diff --git a/plasma5-workspace-rpmlintrc b/plasma5-workspace-rpmlintrc deleted file mode 100644 index cc4ae51..0000000 --- a/plasma5-workspace-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/plasma5-workspace.changes b/plasma5-workspace.changes index 046db43..349c655 100644 --- a/plasma5-workspace.changes +++ b/plasma5-workspace.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 5 11:57: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:33 UTC 2016 - hrvoje.senjan@gmail.com diff --git a/plasma5-workspace.spec b/plasma5-workspace.spec index 04f00fd..f342207 100644 --- a/plasma5-workspace.spec +++ b/plasma5-workspace.spec @@ -27,7 +27,6 @@ Group: System/GUI/KDE Url: http://www.kde.org/ Source: plasma-workspace-%{version}.tar.xz Source1: baselibs.conf -Source99: %{name}-rpmlintrc # PATCH-FIX_OPENSUSE 0001-Rename-qdbus-in-startkde.patch cgiboudeaux@gmx.com -- Rename the qdbus executable in startkde Patch0: 0001-Rename-qdbus-in-startkde.patch # PATCH-FIX_OPENSUSE require-qt56.diff @@ -218,11 +217,14 @@ workspace. Development files. %endif %build - %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 + %cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %kf5_makeinstall -C build +%if %{with lang} + %kf5_find_lang +%endif install -p -D -m755 drkonqi/doc/examples/installdbgsymbols_suse.sh \ %{buildroot}/usr/bin/installdbgsymbols.sh %suse_update_desktop_file -r %{buildroot}%{_kf5_applicationsdir}/org.kde.klipper.desktop System TrayIcon @@ -344,9 +346,7 @@ workspace. Development files. %{_kf5_sharedir}/dbus-1/interfaces/ %if %{with lang} -%files lang -%defattr(-,root,root) -%{_kf5_localedir}/ +%files lang -f %{name}.lang %doc %lang(ca) %{_kf5_htmldir}/ca/ %endif