Branch: master

ef6b2e49 2016-09-12 16:12:55 François Andriot
RPM packaging: fix qalculate build on OBS
M redhat/applications/qalculate-tde/qalculate-tde.spec
diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec
index 36a7aa8..2da0f36 100644
--- a/redhat/applications/qalculate-tde/qalculate-tde.spec
+++ b/redhat/applications/qalculate-tde/qalculate-tde.spec
@@ -136,6 +136,12 @@
 
 %find_lang qalculate_tde
 
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+rm -f %{buildroot}%{tde_tdeappdir}/qalculate_tde.desktop
+%suse_update_desktop_file -i qalculate_tde TDE Utility Calculator
+%endif
+
 
 %clean
 %__rm -rf %{buildroot}