From f7a88f585c6752c097d9db71e4957fccd19d99f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 12 Sep 2016 19:47:44 +0200 Subject: RPM packaging: fix kxmleditor build on OBS --- redhat/applications/kxmleditor/kxmleditor.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'redhat/applications/kxmleditor/kxmleditor.spec') diff --git a/redhat/applications/kxmleditor/kxmleditor.spec b/redhat/applications/kxmleditor/kxmleditor.spec index 785d87d19..3f204e4e3 100644 --- a/redhat/applications/kxmleditor/kxmleditor.spec +++ b/redhat/applications/kxmleditor/kxmleditor.spec @@ -135,6 +135,11 @@ export PATH="%{tde_bindir}:${PATH}" %find_lang %{tde_pkg} +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "XML Editor" -r "%{tde_datadir}/applnk/Applications/kxmleditor.desktop" Utility Editor +%endif + %clean %__rm -rf %{buildroot} -- cgit v1.2.1