Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2018-01-31 17:50:05 +01:00
parent 6dfab73f2b
commit 6f164d900b
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -6,7 +6,7 @@
Name: libcomps
Version: 0.1.8
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Comps XML file manipulation library
License: GPLv2+
@ -114,8 +114,7 @@ pushd build-py3
popd
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -141,6 +140,9 @@ popd
%endif
%changelog
* Wed Jan 31 2018 Igor Gnatenko <ignatenko@redhat.com> - 0.1.8-10
- Switch to %%ldconfig_scriptlets
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-9
- Use better Obsoletes for platform-python