From 5e17ad35028cd53c49bb8f947db888e73712212e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:04 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- librelp.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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