diff --git a/gnome-taquin.spec b/gnome-taquin.spec index e5d724e..3b0507c 100644 --- a/gnome-taquin.spec +++ b/gnome-taquin.spec @@ -1,8 +1,6 @@ -%global icon_themes hicolor - Name: gnome-taquin Version: 3.26.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Sliding-block puzzle game License: GPLv3+ and GPLv2+ and CC-BY-SA @@ -41,30 +39,6 @@ make %{?_smp_mflags} %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.taquin.desktop - -%post -for theme in %{icon_themes} ; do - touch --no-create %{_datadir}/icons/$theme &>/dev/null || : -done - - -%postun -if [ $1 -eq 0 ]; then - for theme in %{icon_themes} ; do - touch --no-create %{_datadir}/icons/$theme &> /dev/null - gtk-update-icon-cache %{_datadir}/icons/$theme &> /dev/null || : - done - glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - - -%posttrans -for theme in %{icon_themes} ; do - gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || : -done -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - - %files -f %{name}.lang %doc AUTHORS NEWS %license COPYING COPYING.sounds COPYING.themes @@ -79,6 +53,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %changelog +* Thu Jan 11 2018 Igor Gnatenko - 3.26.1-2 +- Remove obsolete scriptlets + * Sun Oct 1 2017 Yanko Kaneti - 3.26.1-1 - Update to 3.26.1