Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 13:15:43 +01:00
parent 8af2213207
commit 93ceb38a6d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -6,7 +6,7 @@
Name: cogl Name: cogl
Version: 1.22.2 Version: 1.22.2
Release: 8%{?dist} Release: 9%{?dist}
Summary: A library for using 3D graphics hardware to draw pretty pictures Summary: A library for using 3D graphics hardware to draw pretty pictures
License: LGPLv2+ License: LGPLv2+
@ -140,9 +140,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
%check %check
# make check # make check
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
@ -167,6 +165,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
%endif %endif
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.22.2-9
- Switch to %%ldconfig_scriptlets
* Wed Nov 22 2017 Troy Dawson <tdawson@redhat.com> - 1.22.2-8 * Wed Nov 22 2017 Troy Dawson <tdawson@redhat.com> - 1.22.2-8
- Fix spec file conditionals - Fix spec file conditionals