summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kxmleditor/kxmleditor.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kxmleditor/kxmleditor.spec')
-rw-r--r--redhat/applications/kxmleditor/kxmleditor.spec5
1 files changed, 5 insertions, 0 deletions
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}