diff --git a/libgnomekbd.spec b/libgnomekbd.spec index 4caf813..8f6f0b3 100644 --- a/libgnomekbd.spec +++ b/libgnomekbd.spec @@ -1,6 +1,6 @@ Name: libgnomekbd Version: 3.26.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A keyboard configuration library License: LGPLv2+ @@ -62,21 +62,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-disp %preun %gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb -%post -/sbin/ldconfig -touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig -if [ $1 -eq 0 ]; then - touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : - glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +%postun -p /sbin/ldconfig %files -f %{name}.lang %license COPYING.LIB @@ -96,6 +84,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %changelog +* Fri Jan 05 2018 Igor Gnatenko - 3.26.0-2 +- Remove obsolete scriptlets + * Wed Sep 13 2017 Kalev Lember - 3.26.0-1 - Update to 3.26.0