diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2012-11-21 12:15:52 +0100 |
---|---|---|
committer | Alan Pevec <apevec@redhat.com> | 2012-11-21 12:59:49 +0100 |
commit | ab55531b5445e0571e859ad3ec034f9cacb81c93 (patch) | |
tree | 3e28f1046967becb010ae0700e15391fb1842fd8 | |
parent | 1b2fff4bb383b3ac1b398f7ada34ba926f1d41f3 (diff) | |
download | collectd-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.spec | 2 |
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 |