Branch: master

f7a88f58 2016-09-12 12:47:44 François Andriot
RPM packaging: fix kxmleditor build on OBS
M redhat/applications/kxmleditor/kxmleditor.spec
diff --git a/redhat/applications/kxmleditor/kxmleditor.spec b/redhat/applications/kxmleditor/kxmleditor.spec
index 785d87d..3f204e4 100644
--- a/redhat/applications/kxmleditor/kxmleditor.spec
+++ b/redhat/applications/kxmleditor/kxmleditor.spec
@@ -135,6 +135,11 @@
 
 %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}