From e1cc3835388da219684a18f999f3768d8c9d42a9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 15:25:14 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- bc.spec | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/bc.spec b/bc.spec index 0e023a2..f34b8f6 100644 --- a/bc.spec +++ b/bc.spec @@ -7,8 +7,6 @@ URL: http://www.gnu.org/software/bc/ Source: http://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz Patch1: bc-1.06-dc_ibase.patch Patch2: bc-1.06.95-doc.patch -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info BuildRequires: gcc BuildRequires: readline-devel, flex, bison, texinfo, ed @@ -32,22 +30,6 @@ if you would like to use its text mode calculator. %make_install rm -f $RPM_BUILD_ROOT/%{_infodir}/dir -%post -if [ -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then - /sbin/install-info %{_infodir}/bc.info.gz %{_infodir}/dir \ - --entry="* bc: (bc). The GNU calculator language." || : - /sbin/install-info %{_infodir}/dc.info.gz %{_infodir}/dir \ - --entry="* dc: (dc). The GNU RPN calculator." || : -fi - -%preun -if [ $1 = 0 -a -e %{_infodir}/bc.info.gz -a -e %{_infodir}/dc.info.gz ]; then - /sbin/install-info --delete %{_infodir}/bc.info.gz %{_infodir}/dir \ - --entry="* bc: (bc). The GNU calculator language." || : - /sbin/install-info --delete %{_infodir}/dc.info.gz %{_infodir}/dir \ - --entry="* dc: (dc). The GNU RPN calculator." || : -fi - %files %license COPYING COPYING.LIB %doc FAQ AUTHORS NEWS README Examples/