diff --git a/librelp.spec b/librelp.spec index 54018d0..60151e6 100644 --- a/librelp.spec +++ b/librelp.spec @@ -6,8 +6,6 @@ License: GPLv3+ Group: System Environment/Libraries URL: http://www.rsyslog.com/ Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig BuildRequires: gnutls-devel >= 1.4.0 Patch0: librelp-1.2.13-crypto-compliance.patch @@ -46,12 +44,7 @@ make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT/%{_libdir}/*.la -%post -p /sbin/ldconfig - -%postun -if [ "$1" = "0" ] ; then - /sbin/ldconfig -fi +%ldconfig_scriptlets %files %doc AUTHORS COPYING NEWS README doc/*html