From e77277d5775b6063f0bc75282c19705206b710bc Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:09:22 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- spice-gtk.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/spice-gtk.spec b/spice-gtk.spec index 7d329aa..9a26ea2 100644 --- a/spice-gtk.spec +++ b/spice-gtk.spec @@ -2,7 +2,7 @@ Name: spice-gtk Version: 0.34 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A GTK+ widget for SPICE clients Group: System Environment/Libraries @@ -129,14 +129,9 @@ rm -f %{buildroot}%{_libdir}/*.la %find_lang %{name} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%post -n spice-glib -p /sbin/ldconfig -%postun -n spice-glib -p /sbin/ldconfig - -%post -n spice-gtk3 -p /sbin/ldconfig -%postun -n spice-gtk3 -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets -n spice-glib +%ldconfig_scriptlets -n spice-gtk3 %files @@ -187,6 +182,9 @@ rm -f %{buildroot}%{_libdir}/*.la %{_bindir}/spicy-stats %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.34-3 +- Switch to %%ldconfig_scriptlets + * Thu Aug 24 2017 Christophe Fergeau - 0.34-2 - Build against OpenSSL 1.1.0 rather than the older 1.0