[collectd/f17] Call ldconfig since we're installing a shared library
Alan Pevec
apevec at fedoraproject.org
Mon Nov 26 11:49:15 UTC 2012
commit b37a97c74e3678088989a8d39808c3c1c423cbe2
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Wed Nov 21 12:15:52 2012 +0100
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/collectd.spec b/collectd.spec
index d3e01c1..188bb01 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
More information about the scm-commits
mailing list