summaryrefslogtreecommitdiffstats
path: root/redhat/applications/wlassistant/trinity-wlassistant.spec
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2012-05-07 01:06:08 +0200
committerFrancois Andriot <[email protected]>2012-05-07 01:06:08 +0200
commit9750a057f2f36c5b88a5bc53c0a051b605dac061 (patch)
tree4f205d3ed4ecf8d2df665b566674d12372363c7f /redhat/applications/wlassistant/trinity-wlassistant.spec
parent6bb431be79e8f75c26bbf0f81749fa7738965f65 (diff)
downloadtde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.tar.gz
tde-packaging-9750a057f2f36c5b88a5bc53c0a051b605dac061.zip
RHEL/Fedora: massive updates for Fedora 17 (TDE 3.5.13 entire build)
Diffstat (limited to 'redhat/applications/wlassistant/trinity-wlassistant.spec')
-rw-r--r--redhat/applications/wlassistant/trinity-wlassistant.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/redhat/applications/wlassistant/trinity-wlassistant.spec b/redhat/applications/wlassistant/trinity-wlassistant.spec
index 85276e5ec..71fc95bce 100644
--- a/redhat/applications/wlassistant/trinity-wlassistant.spec
+++ b/redhat/applications/wlassistant/trinity-wlassistant.spec
@@ -6,7 +6,7 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
%define _variant .opt
-%define _docdir %{_prefix}/share/doc
+%define _docdir %{_datadir}/doc
%endif
# TDE 3.5.13 specific building variables
@@ -56,7 +56,7 @@ remembered so next time the user won't have to enter them again.
# Ugly hack to modify TQT include directory inside SCONS files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i bksys/kde.py \
- -e "s,/usr/include/tqt,%{_includedir}/tqt,g"
+ -e "s|/usr/include/tqt|%{_includedir}/tqt|g"
%build
@@ -89,12 +89,10 @@ scons install DESTDIR=%{buildroot}
%post
-/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
-/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :