Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:23:39 +01:00
parent 52e93c8932
commit a892345a17
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -10,7 +10,7 @@
Name: librepo
Version: 1.8.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Repodata downloading library
License: LGPLv2+
@ -117,9 +117,7 @@ pushd build-py3
popd
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -140,6 +138,9 @@ popd
%endif
%changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1-5
- Switch to %%ldconfig_scriptlets
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1-4
- Use better Obsoletes for platform-python