From e2950a931d8b8306f9df95da43d11e15929c390e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 17:10:09 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/caribou.spec b/caribou.spec index f3446f8..c52a52e 100644 --- a/caribou.spec +++ b/caribou.spec @@ -1,6 +1,6 @@ Name: caribou Version: 0.4.21 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A simplified in-place on-screen keyboard License: LGPLv2+ URL: https://wiki.gnome.org/Projects/Caribou @@ -136,24 +136,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/gtk-mo %find_lang caribou -%post -p /sbin/ldconfig - -%postun -/sbin/ldconfig -if [ $1 -eq 0 ] ; then - /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans -/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - -%postun antler -if [ $1 -eq 0 ] ; then - /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans antler -/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +%ldconfig_scriptlets %files -f caribou.lang %doc NEWS README @@ -197,6 +180,9 @@ fi %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.4.21-6 +- Switch to %%ldconfig_scriptlets + * Wed Aug 02 2017 Fedora Release Engineering - 0.4.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild