From ef6b2e498233c658175411abd6db4aff148adf59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 12 Sep 2016 23:12:55 +0200 Subject: RPM packaging: fix qalculate build on OBS --- redhat/applications/qalculate-tde/qalculate-tde.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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} -- cgit v1.2.1