Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-30 09:26:21 +01:00
parent c24fb20e49
commit d3e0388700
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: libxml2
Version: 2.9.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library providing XML and HTML support
License: MIT
@ -121,9 +121,7 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%make_build runtests -C py2
%make_build runtests -C py3
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license Copyright
@ -172,6 +170,9 @@ gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
%{python3_sitearch}/libxml2mod.so
%changelog
* Tue Jan 30 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.7-2
- Switch to %%ldconfig_scriptlets
* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.7-1
- Update to 2.9.7
- Cleanups in packaging