From 4e38fb58e24a0f179059c5f85afe7d1e201a8c1d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 00:12:38 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- gnome-clocks.spec | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/gnome-clocks.spec b/gnome-clocks.spec index 5a7b290..6a38daa 100644 --- a/gnome-clocks.spec +++ b/gnome-clocks.spec @@ -1,6 +1,6 @@ Name: gnome-clocks Version: 3.26.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Clock application designed for GNOME 3 License: GPLv2+ @@ -23,7 +23,6 @@ BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.4 BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0 BuildRequires: pkgconfig(gsound) >= 0.98 - %description Clock application designed for GNOME 3 @@ -38,24 +37,9 @@ Clock application designed for GNOME 3 %meson_install %find_lang gnome-clocks --with-gnome - %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - %files -f gnome-clocks.lang %doc AUTHORS README NEWS %license COPYING @@ -71,8 +55,10 @@ fi %dir %{_datadir}/gnome-shell/search-providers/ %{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini - %changelog +* Fri Jan 05 2018 Igor Gnatenko - 3.26.1-2 +- Remove obsolete scriptlets + * Sun Oct 15 2017 Kalev Lember - 3.26.1-1 - Update to 3.26.1