summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-09-12 23:12:55 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-09-12 23:12:55 +0200
commitef6b2e498233c658175411abd6db4aff148adf59 (patch)
treea9306d10f633b48de25a869289c380f6696cf2a1 /redhat
parentcfb274c3a3453d23c9bf5d399a70d622163762d8 (diff)
downloadtde-packaging-ef6b2e498233c658175411abd6db4aff148adf59.tar.gz
tde-packaging-ef6b2e498233c658175411abd6db4aff148adf59.zip
RPM packaging: fix qalculate build on OBS
Diffstat (limited to 'redhat')
-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}