From 400bae1aa95b7ec690ce29983f969f824198d7d6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 5 Jan 2018 23:38:00 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- seahorse.spec | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/seahorse.spec b/seahorse.spec index 1ed08b5..274357a 100644 --- a/seahorse.spec +++ b/seahorse.spec @@ -1,6 +1,6 @@ Name: seahorse Version: 3.20.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A GNOME application for managing encryption keys # seahorse is GPLv2+ @@ -75,32 +75,11 @@ rm -f ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/icon-theme.cache find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';' find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';' - %check appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/*.appdata.xml - -%post -/sbin/ldconfig -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : -touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : -touch --no-create %{_datadir}/mime/packages &>/dev/null || : - -%postun -/sbin/ldconfig -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : -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 || : - update-mime-database %{_datadir}/mime &> /dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -update-mime-database -n %{_datadir}/mime &> /dev/null || : - +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files -f %{name}.lang %doc AUTHORS NEWS README TODO @@ -124,6 +103,9 @@ update-mime-database -n %{_datadir}/mime &> /dev/null || : %{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini %changelog +* Fri Jan 05 2018 Igor Gnatenko - 3.20.0-7 +- Remove obsolete scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 3.20.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild