From 09a0891c5ec17fad172287daaa34f422d5dbb812 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:40:30 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- texi2html.spec | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/texi2html.spec b/texi2html.spec index ae25f79..a2aefdc 100644 --- a/texi2html.spec +++ b/texi2html.spec @@ -14,8 +14,6 @@ Patch0: texi2html-5.0-Do-not-install-Unicode-EastAsianWidth-if-external-is.patch # Do not install bundled libintl-perl, Patch1: texi2html-5.0-Do-not-install-libintl-perl-if-external-is-used.patch URL: http://www.nongnu.org/texi2html/ -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info Requires: perl-interpreter >= 5.004 Requires: latex2html # autotools for the unbundling patches @@ -70,14 +68,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/texinfo $RPM_BUILD_ROOT%{_sysconfdir}/texinf %check #make check -%post -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir > /dev/null 2>&1 || : - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir > /dev/null 2>&1 || : -fi - %files -f %{name}.lang -f %{name}_document.lang %doc AUTHORS COPYING ChangeLog NEWS README TODO %{name}.init %{_bindir}/%{name}