From 69d7daa236e3df79689d9ebc203efdd6ac93004c Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 5 Nov 2024 20:55:30 +0300 Subject: [PATCH] Remove info files --- SPECS/binutils.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SPECS/binutils.spec b/SPECS/binutils.spec index 494593c..7de9444 100644 --- a/SPECS/binutils.spec +++ b/SPECS/binutils.spec @@ -1167,8 +1167,8 @@ install_binutils() # Remove Windows/Novell only man pages rm -f $local_mandir/{dlltool,nlmconv,windres,windmc}* %if %{without docs} - rm -f $local_mandir/{addr2line,ar,as,c++filt,elfedit,gprof,ld,nm,objcopy,objdump,ranlib,readelf,size,strings,strip}* - rm -f $local_infodir/{as,bfd,binutils,gprof,ld}* + rm -f $local_mandir/{addr2line,ar,as,c++filt,elfedit,gprof,ld,nm,objcopy,objdump,ranlib,readelf,size,strings,strip,ctf-spec}* + rm -f $local_infodir/{as,bfd,binutils,gprof,ld,ctf-spec,sframe-spec}* %endif %if %{enable_shared} @@ -1281,6 +1281,10 @@ export QA_RPATHS=0x0003 #---------------------------------------------------------------------------- +%__rm -f %{_infodir}/ctf-spec.info.gz +%__rm -f %{_infodir}/gprof.info.gz + + %post # Remove the /usr/bin/ld file so that the alternatives program