Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:40:04 +01:00
parent eedf44d035
commit 5e17ad3502
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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