From a980bed6f7e303f2ce445e28bf874ed67dd62245 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 11 2018 13:55:14 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/gtatool.spec b/gtatool.spec index eafb442..ecdd551 100644 --- a/gtatool.spec +++ b/gtatool.spec @@ -2,7 +2,7 @@ Name: gtatool Version: 2.2.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Commandline tool to manipulate GTAs Group: Applications/Engineering License: GPLv3+ @@ -198,23 +198,11 @@ make check %post /sbin/install-info %{_infodir}/gta.info* %{_infodir}/dir || : -%post gui -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/gta.info* %{_infodir}/dir || : fi -%postun gui -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %files %doc COPYING AUTHORS README @@ -266,6 +254,9 @@ fi %changelog +* Thu Jan 11 2018 Igor Gnatenko - 2.2.0-12 +- Remove obsolete scriptlets + * Wed Jan 03 2018 Volker Froehlich - 2.2.0-11 - Rebuild for dcmtk