From 5b389b5afe6a469835f8a0b187018dc5901173d6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:40:35 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- wdiff.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/wdiff.spec b/wdiff.spec index e32a41d..267610c 100644 --- a/wdiff.spec +++ b/wdiff.spec @@ -13,9 +13,6 @@ BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: texinfo -Requires(post): info -Requires(preun): info - #https://fedorahosted.org/fpc/ticket/174 Provides: bundled(gnulib) = 30.5.2012 @@ -45,15 +42,6 @@ find $RPM_BUILD_ROOT -type f -name '*gnulib.mo' -exec rm -f {} ';' %find_lang %{name} -%post -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : - -%preun -if [ $1 = 0 ] ; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - - %files -f %{name}.lang %doc NEWS README TODO ChangeLog AUTHORS %{_bindir}/*