From 41da3cc65c77d5bc337a883955e6bfb3604af354 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 11 Jan 2018 14:49:45 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- emacs.spec | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/emacs.spec b/emacs.spec index b77657c..10b9c01 100644 --- a/emacs.spec +++ b/emacs.spec @@ -5,7 +5,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 25.3 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -393,23 +393,9 @@ cat el-*-files common-lisp-dir-files > el-filelist # Remove old icon rm %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/emacs-document23.svg -%post -update-desktop-database &> /dev/null || : -touch --no-create %{_datadir}/icons/hicolor -if [ -x %{_bindir}/gtk-update-icon-cache ] ; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi - %preun %{_sbindir}/alternatives --remove emacs %{_bindir}/emacs-%{version} -%postun -update-desktop-database &> /dev/null || : -touch --no-create %{_datadir}/icons/hicolor -if [ -x %{_bindir}/gtk-update-icon-cache ] ; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi - %posttrans %{_sbindir}/alternatives --install %{_bindir}/emacs emacs %{_bindir}/emacs-%{version} 80 @@ -446,12 +432,6 @@ fi %{_sbindir}/alternatives --install %{_bindir}/etags emacs.etags %{_bindir}/etags.emacs 80 \ --slave %{_mandir}/man1/etags.1.gz emacs.etags.man %{_mandir}/man1/etags.emacs.1.gz -%post terminal -update-desktop-database &> /dev/null || : - -%postun terminal -update-desktop-database &> /dev/null || : - %files %{_bindir}/emacs-%{version} %attr(0755,-,-) %ghost %{_bindir}/emacs @@ -501,6 +481,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Thu Jan 11 2018 Igor Gnatenko - 1:25.3-4 +- Remove obsolete scriptlets + * Thu Sep 14 2017 Pete Walter - 1:25.3-3 - Rebuilt for ImageMagick 6.9.9 soname bump