Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:42:48 +01:00
parent 3e4239cb75
commit a0d70625a1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -3,7 +3,7 @@
Summary: Library providing the Gnome XSLT engine Summary: Library providing the Gnome XSLT engine
Name: libxslt Name: libxslt
Version: 1.1.30 Version: 1.1.30
Release: 3%{?dist}%{?extra_release} Release: 4%{?dist}%{?extra_release}
License: MIT License: MIT
Group: Development/Libraries Group: Development/Libraries
Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
@ -89,9 +89,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}{,-python}-%{version}
%check %check
make tests make tests
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%defattr(-, root, root,-) %defattr(-, root, root,-)
@ -132,6 +130,9 @@ make tests
%doc python/tests/*.xsl %doc python/tests/*.xsl
%changelog %changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.30-4
- Switch to %%ldconfig_scriptlets
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.30-3 * Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.30-3
- Update Python 2 dependency declarations to new packaging standards - Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)