summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-01-01 02:32:06 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2016-01-01 02:32:06 +0100
commitc978f6a672c3c0f87884957caca7414a063c7d7c (patch)
treed8705219b31fd12bd3b161c72a9f982e58a9e78c /redhat
parent28b91af4da78e78e4842d84cb04f9ab8be489584 (diff)
downloadtde-packaging-c978f6a672c3c0f87884957caca7414a063c7d7c.tar.gz
tde-packaging-c978f6a672c3c0f87884957caca7414a063c7d7c.zip
RPM packaging: fix ktechlab build on opensuse tumbleweed (again)
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/ktechlab/ktechlab-14.0.0.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/ktechlab/ktechlab-14.0.0.spec b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
index 4cdac7bdb..10a4e26c1 100644
--- a/redhat/applications/ktechlab/ktechlab-14.0.0.spec
+++ b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
@@ -134,6 +134,10 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang %{tde_pkg}
+%__mkdir_p "%{?buildroot}%{tde_tdeappdir}"
+%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Development/ktechlab.desktop" "%{?buildroot}%{tde_tdeappdir}"
+%__rm -rf "%{?buildroot}%{tde_datadir}/applnk"
+
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file -r -n ktechlab Science Math
@@ -158,7 +162,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%defattr(-,root,root,-)
%{tde_bindir}/ktechlab
%{tde_bindir}/microbe
-%{tde_datadir}/applnk/Development/ktechlab.desktop
+%{tde_tdeappdir}/ktechlab.desktop
%{tde_datadir}/apps/katepart/syntax/microbe.xml
%{tde_datadir}/apps/ktechlab
%{tde_datadir}/config.kcfg/ktechlab.kcfg