Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 12:35:02 +01:00
parent d259496207
commit 49fa6190b4
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -10,7 +10,7 @@
Name: cairo Name: cairo
Version: 1.15.10 Version: 1.15.10
Release: 1%{?dist} Release: 2%{?dist}
Summary: A 2D graphics library Summary: A 2D graphics library
License: LGPLv2 or MPLv1.1 License: LGPLv2 or MPLv1.1
@ -109,11 +109,8 @@ make V=1 %{?_smp_mflags}
%make_install %make_install
find $RPM_BUILD_ROOT -name '*.la' -delete find $RPM_BUILD_ROOT -name '*.la' -delete
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig %ldconfig_scriptlets gobject
%post gobject -p /sbin/ldconfig
%postun gobject -p /sbin/ldconfig
%files %files
%license COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 %license COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1
@ -175,6 +172,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{_libdir}/cairo/ %{_libdir}/cairo/
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.15.10-2
- Switch to %%ldconfig_scriptlets
* Tue Dec 12 2017 Kalev Lember <klember@redhat.com> - 1.15.10-1 * Tue Dec 12 2017 Kalev Lember <klember@redhat.com> - 1.15.10-1
- Update to 1.15.10 - Update to 1.15.10