summaryrefslogtreecommitdiffstats
path: root/redhat/applications/ktechlab
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-01-01 02:18:34 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2016-01-01 02:18:34 +0100
commit28b91af4da78e78e4842d84cb04f9ab8be489584 (patch)
tree99b9ecd77f9a91bf6877d5fb6c0cadea763df257 /redhat/applications/ktechlab
parenta30d722e77ebc1c23768995d04084cc64a7be415 (diff)
downloadtde-packaging-28b91af4da78e78e4842d84cb04f9ab8be489584.tar.gz
tde-packaging-28b91af4da78e78e4842d84cb04f9ab8be489584.zip
RPM packaging: fix ktechlab build on opensuse tumbleweed
Diffstat (limited to 'redhat/applications/ktechlab')
-rw-r--r--redhat/applications/ktechlab/ktechlab-14.0.0.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/applications/ktechlab/ktechlab-14.0.0.spec b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
index ce835aff5..4cdac7bdb 100644
--- a/redhat/applications/ktechlab/ktechlab-14.0.0.spec
+++ b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
@@ -134,6 +134,12 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang %{tde_pkg}
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r -n ktechlab Science Math
+%endif
+
+
%clean
%__rm -rf %{buildroot}
@@ -142,6 +148,7 @@ export PATH="%{tde_bindir}:${PATH}"
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
%postun
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :