summaryrefslogtreecommitdiffstats
path: root/redhat/applications/filelight-l10n
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:05:53 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:05:53 +0200
commit52d511ca193d9c9b67e5499c1c4045ccb518eff1 (patch)
treeff2c259e0b00af4508446eb617ec8498e67101d9 /redhat/applications/filelight-l10n
parent3f54eae4133b582f28170cc9cc615781bc176a18 (diff)
downloadtde-packaging-52d511ca193d9c9b67e5499c1c4045ccb518eff1.tar.gz
tde-packaging-52d511ca193d9c9b67e5499c1c4045ccb518eff1.zip
RHEL/Fedora: fix HTML directory location for filelight
Diffstat (limited to 'redhat/applications/filelight-l10n')
-rw-r--r--redhat/applications/filelight-l10n/trinity-filelight-l10n.spec19
1 files changed, 8 insertions, 11 deletions
diff --git a/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec b/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec
index 835fa143c..81670381d 100644
--- a/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec
+++ b/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec
@@ -1,7 +1,7 @@
# Default version for this component
%define kdecomp filelight-l10n
%define version 1.0
-%define release 1
+%define release 2
%define debug_package %{nil}
@@ -62,11 +62,11 @@ See the 'filelight' package description for more information.
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
%__sed -i admin/acinclude.m4.in \
- -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \
- -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g"
+ -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g"
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"
@@ -91,13 +91,6 @@ export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot}
-%post
-touch --no-create %{_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%files
@@ -107,5 +100,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%Changelog
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
+- Rebuilt for Fedora 17
+- Removes useless post and postun
+
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16