From 93ceb38a6d555c3913e5b5c3602f1a39dd1a309d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:15:43 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- cogl.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cogl.spec b/cogl.spec index 2accda2..6dc2dad 100644 --- a/cogl.spec +++ b/cogl.spec @@ -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 - 1.22.2-9 +- Switch to %%ldconfig_scriptlets + * Wed Nov 22 2017 Troy Dawson - 1.22.2-8 - Fix spec file conditionals