Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 13:35:59 +01:00
parent 8a8b297399
commit a021b19b59
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: lzo
Version: 2.08
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Data compression library with very fast (de)compression
Group: System Environment/Libraries
License: GPLv2+
@ -78,13 +78,8 @@ make check test
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post minilzo -p /sbin/ldconfig
%postun minilzo -p /sbin/ldconfig
%ldconfig_scriptlets
%ldconfig_scriptlets minilzo
%files
@ -109,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.08-12
- Switch to %%ldconfig_scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.08-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild