summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-09-12 19:47:44 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-09-12 19:47:44 +0200
commitf7a88f585c6752c097d9db71e4957fccd19d99f4 (patch)
tree59c4bb1520386db0f26cf1380da114502ffd294d
parentd24d5e5a5b8717a3b04b4996864a2c1786432a1d (diff)
downloadtde-packaging-f7a88f58.tar.gz
tde-packaging-f7a88f58.zip
RPM packaging: fix kxmleditor build on OBS
-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}