summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-09 12:02:49 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-09 12:02:49 +0200
commit14c13255374d213dc1e3c5bf8e07830dc71c8491 (patch)
tree0be6b2311bd88d0cf935e808924fa3fce053d488 /redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec
parent193ac9dc51fbc8d12aa48fe1191c8512850cc4ff (diff)
downloadtde-packaging-14c13255374d213dc1e3c5bf8e07830dc71c8491.tar.gz
tde-packaging-14c13255374d213dc1e3c5bf8e07830dc71c8491.zip
RHEL/Fedora: fix %post and %postun in dependency packages
Diffstat (limited to 'redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec')
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec
index bcbf1ed2a..598e2d874 100755
--- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec
@@ -92,7 +92,7 @@ cd build
# RHEL 5: add newline at end of include files to avoid warnings
%if 0%{?rhel} && 0%{?rhel} <= 5
-for i in %{?buildroot}%{_includedir}/*.h; do
+for i in %{?buildroot}%{tde_includedir}/tqt/*.h; do
echo "" >>${i}
done
%endif
@@ -106,6 +106,18 @@ done
%clean
%__rm -rf %{?buildroot}
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
%files
%{tde_bindir}/*
%{tde_libdir}/*.so.*