Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:21:42 +01:00
parent ec170d0e68
commit c27ae1a66d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,7 +1,7 @@
Summary: C library for parsing command line parameters
Name: popt
Version: 1.16
Release: 12%{?dist}
Release: 13%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.rpm5.org/
@ -85,9 +85,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
@ -110,6 +108,9 @@ make check
%{_libdir}/libpopt.a
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.16-13
- Switch to %%ldconfig_scriptlets
* Thu Oct 12 2017 Robert Scheck <robert@fedoraproject.org> 1.16-12
- Added upstream patch to handle glob(3) error returns (#1051685)