From fb826160b38c3151d5230f2cf4f61b151adae67e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 10:24:07 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- xterm.spec | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/xterm.spec b/xterm.spec index 8dce481..865a69f 100644 --- a/xterm.spec +++ b/xterm.spec @@ -1,7 +1,7 @@ Summary: Terminal emulator for the X Window System Name: xterm Version: 330 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://invisible-island.net/xterm License: MIT Group: User Interface/X @@ -80,18 +80,6 @@ desktop-file-install \ mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata install -m644 -p xterm.appdata.xml $RPM_BUILD_ROOT%{_datadir}/appdata -%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 || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - %files %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n THANKS %{_bindir}/xterm @@ -113,6 +101,9 @@ fi %{_mandir}/man1/resize.1* %changelog +* Sat Jan 06 2018 Igor Gnatenko - 330-4 +- Remove obsolete scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 330-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild