From 7aff41d33b03c150dfbdb293cd97e5dfa2b52f6c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jul 2018 15:55:33 +0200 Subject: [PATCH 1/2] 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 From e8e22cc052ee42b5a5641d32dfd50889854aa6f9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jul 2018 15:58:48 +0200 Subject: [PATCH 2/2] remove unneeded BuildRequires Signed-off-by: Igor Gnatenko --- annobin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annobin.spec b/annobin.spec index a5ecb85..c942eca 100644 --- a/annobin.spec +++ b/annobin.spec @@ -36,7 +36,7 @@ Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz # Patch01: annobin-xxx.patch -BuildRequires: gcc-plugin-devel gcc-c++ pkgconfig coreutils info +BuildRequires: gcc-plugin-devel gcc-c++ %description A plugin for GCC that records extra information in the files that it compiles,