Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:19:55 +01:00
parent 8debfb60b8
commit 663835e398
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,7 +1,7 @@
Summary: Library providing support for "XML Signature" and "XML Encryption" standards Summary: Library providing support for "XML Signature" and "XML Encryption" standards
Name: xmlsec1 Name: xmlsec1
Version: 1.2.25 Version: 1.2.25
Release: 1%{?dist}%{?extra_release} Release: 2%{?dist}%{?extra_release}
License: MIT License: MIT
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
URL: http://www.aleksey.com/xmlsec/ URL: http://www.aleksey.com/xmlsec/
@ -120,14 +120,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
rm -rf __tmp_doc ; mkdir __tmp_doc rm -rf __tmp_doc ; mkdir __tmp_doc
mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig %ldconfig_scriptlets gnutls
%ldconfig_scriptlets openssl
%post gnutls -p /sbin/ldconfig
%postun gnutls -p /sbin/ldconfig
%post openssl -p /sbin/ldconfig
%postun openssl -p /sbin/ldconfig
%files %files
%doc AUTHORS ChangeLog NEWS README Copyright %doc AUTHORS ChangeLog NEWS README Copyright
@ -182,6 +177,9 @@ mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
%{_libdir}/pkgconfig/xmlsec1-nss.pc %{_libdir}/pkgconfig/xmlsec1-nss.pc
%changelog %changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.25-2
- Switch to %%ldconfig_scriptlets
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.25-1 * Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.25-1
- Update to 1.2.25 - Update to 1.2.25