Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 17:54:16 +01:00
parent 222f034e13
commit 3909ca88f4
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -4,7 +4,7 @@
Summary: The NetBSD Editline library
Name: libedit
Version: 3.1
Release: 20.%{snap}cvs%{?dist}
Release: 21.%{snap}cvs%{?dist}
License: BSD
Group: System Environment/Libraries
URL: http://www.thrysoee.dk/editline/
@ -49,9 +49,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
# See rhbz#1349671
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/history.3*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%{!?_licensedir:%global license %%doc}
@ -71,6 +69,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/history.3*
%{_includedir}/editline/readline.h
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.1-21.20170329cvs
- Switch to %%ldconfig_scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-20.20170329cvs
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild