summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2012-11-21 12:15:52 +0100
committerAlan Pevec <apevec@redhat.com>2012-11-21 12:59:49 +0100
commitab55531b5445e0571e859ad3ec034f9cacb81c93 (patch)
tree3e28f1046967becb010ae0700e15391fb1842fd8
parent1b2fff4bb383b3ac1b398f7ada34ba926f1d41f3 (diff)
downloadcollectd-ab55531b5445e0571e859ad3ec034f9cacb81c93.tar.gz
collectd-ab55531b5445e0571e859ad3ec034f9cacb81c93.tar.xz
collectd-ab55531b5445e0571e859ad3ec034f9cacb81c93.zip
Call ldconfig since we're installing a shared library
Fixes: collectd.x86_64: E: postin-without-ldconfig /usr/lib64/libcollectdclient.so.0.0.0 collectd.x86_64: E: postun-without-ldconfig /usr/lib64/libcollectdclient.so.0.0.0
-rw-r--r--collectd.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/collectd.spec b/collectd.spec
index d5634cd..0734de4 100644
--- a/collectd.spec
+++ b/collectd.spec
@@ -384,6 +384,7 @@ rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
%post
+/sbin/ldconfig
if [ $1 -eq 1 ] ; then
# Initial installation
%if 0%{?fedora} >= 15
@@ -408,6 +409,7 @@ fi
%postun
+/sbin/ldconfig
%if 0%{?fedora} >= 15
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
%endif