From b81f38439e82ec830725b23bbfd7e1bfc898655b Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Mon, 18 Jun 2018 12:13:51 +0200 Subject: [PATCH] specfile: install-info removed from scriptlets https://fedoraproject.org/wiki/Packaging:Scriptlets#Texinfo --- gmp.spec | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gmp.spec b/gmp.spec index 994c153..f425ac6 100644 --- a/gmp.spec +++ b/gmp.spec @@ -48,8 +48,6 @@ Summary: Development tools for the GNU MP arbitrary precision library Group: Development/Libraries Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-c++%{?_isa} = %{epoch}:%{version}-%{release} -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info %description devel The libraries, header files and documentation for using the GNU MP @@ -144,20 +142,6 @@ make %{?_smp_mflags} check %postun c++ -p /sbin/ldconfig -%post devel -if [ -f %{_infodir}/gmp.info.gz ]; then - /sbin/install-info %{_infodir}/gmp.info.gz %{_infodir}/dir || : -fi -exit 0 - -%preun devel -if [ $1 = 0 ]; then - if [ -f %{_infodir}/gmp.info.gz ]; then - /sbin/install-info --delete %{_infodir}/gmp.info.gz %{_infodir}/dir || : - fi -fi -exit 0 - %files %defattr(-,root,root,-) %{!?_licensedir:%global license %%doc}