From c554448a3f12d8dd61277272e516cac33a5eb4e3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jan 2018 22:51:07 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- x3270.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/x3270.spec b/x3270.spec index e26fc21..7cc2008 100644 --- a/x3270.spec +++ b/x3270.spec @@ -4,7 +4,7 @@ Summary: An X Window System based IBM 3278/3279 terminal emulator Name: x3270 Version: 3.6ga4 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: Applications/Internet URL: http://x3270.sourceforge.net/ @@ -103,18 +103,8 @@ desktop-file-install \ %post x11 cd %{_fontdir} && %{_prefix}/bin/mkfontdir -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun x11 -if [ "$1" -eq "0" ]; then - cd %{_fontdir} && %{_prefix}/bin/mkfontdir - touch --no-create %{_datadir}/icons/hicolor - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans x11 -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +%postun x11 -p fi %files %doc LICENSE.s3270 README.s3270 html.s3270 @@ -147,6 +137,9 @@ fi %changelog +* Thu Jan 18 2018 Igor Gnatenko +- Remove obsolete scriptlets + * Sun Dec 31 2017 Dan HorĂ¡k - 3.6ga4-1 - updated to 3.6ga4 (#1529910)