summaryrefslogtreecommitdiffstats
path: root/redhat/applications/qalculate-tde/qalculate-tde.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/qalculate-tde/qalculate-tde.spec')
-rw-r--r--redhat/applications/qalculate-tde/qalculate-tde.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec
index 36a7aa8aa..2da0f36a8 100644
--- a/redhat/applications/qalculate-tde/qalculate-tde.spec
+++ b/redhat/applications/qalculate-tde/qalculate-tde.spec
@@ -136,6 +136,12 @@ export PATH="%{tde_bindir}:${PATH}"
%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}