From 62001973e1ea58f4a14fd84dfc96b04bb2dcc3a6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Jan 2018 19:11:25 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- antimony.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/antimony.spec b/antimony.spec index 8a4653c..49f2239 100644 --- a/antimony.spec +++ b/antimony.spec @@ -1,7 +1,7 @@ Name: antimony Summary: Computer-aided design CAD tool Version: 0.9.3 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT URL: http://www.mattkeeter.com/projects/antimony/3/ Source0: https://github.com/mkeeter/antimony/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -142,24 +142,6 @@ cat > $RPM_BUILD_ROOT%{_datadir}/metainfo/%{name}.appdata.xml < EOF -%post -/bin/touch --no-create %{_datadir}/icons/Antimony &>/dev/null || : -%if 0%{?fedora} < 25 -/usr/bin/update-desktop-database &> /dev/null || : -%endif - -%postun -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/Antimony &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/Antimony &>/dev/null || : -fi -%if 0%{?fedora} < 25 -/usr/bin/update-desktop-database &> /dev/null || : -%endif - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Antimony &>/dev/null || : - %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %if 0%{?fedora} @@ -177,6 +159,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/*.appd %{_datadir}/metainfo/%{name}.appdata.xml %changelog +* Sun Jan 07 2018 Igor Gnatenko - 0.9.3-3 +- Remove obsolete scriptlets + * Tue Dec 19 2017 Antonio Trande - 0.9.3-2 - Appdata file moved into metainfo data directory