Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
eedf44d035
commit
5e17ad3502
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user