From 7aff41d33b03c150dfbdb293cd97e5dfa2b52f6c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jul 2018 15:55:33 +0200 Subject: [PATCH] remove unneeded install-info scriptlets Signed-off-by: Igor Gnatenko --- annobin.spec | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/annobin.spec b/annobin.spec index 074dab4..a5ecb85 100644 --- a/annobin.spec +++ b/annobin.spec @@ -36,9 +36,6 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz # Patch01: annobin-xxx.patch -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info - BuildRequires: gcc-plugin-devel gcc-c++ pkgconfig coreutils info %description @@ -177,20 +174,6 @@ make check #--------------------------------------------------------------------------------- -%post -/sbin/install-info %{_infodir}/annobin.info.gz %{_infodir} >/dev/null 2>&1 || : -exit 0 - -#--------------------------------------------------------------------------------- - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/annobin.info.gz %{_infodir} >/dev/null 2>&1|| : -fi -exit 0 - -#--------------------------------------------------------------------------------- - %files %{ANNOBIN_PLUGIN_DIR} %{_bindir}/built-by