From ab55531b5445e0571e859ad3ec034f9cacb81c93 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 21 Nov 2012 12:15:52 +0100 Subject: 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 --- collectd.spec | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit