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
Version: 1.22.2
Release: 8%{?dist}
Release: 9%{?dist}
Summary: A library for using 3D graphics hardware to draw pretty pictures
License: LGPLv2+
@ -140,9 +140,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
%check
# make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
@ -167,6 +165,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
%endif
%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
- Fix spec file conditionals