Remove info files

This commit is contained in:
eabdullin 2024-11-05 20:55:30 +03:00
parent c0f9854f08
commit 69d7daa236

View File

@ -1167,8 +1167,8 @@ install_binutils()
# Remove Windows/Novell only man pages # Remove Windows/Novell only man pages
rm -f $local_mandir/{dlltool,nlmconv,windres,windmc}* rm -f $local_mandir/{dlltool,nlmconv,windres,windmc}*
%if %{without docs} %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_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}* rm -f $local_infodir/{as,bfd,binutils,gprof,ld,ctf-spec,sframe-spec}*
%endif %endif
%if %{enable_shared} %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 %post
# Remove the /usr/bin/ld file so that the alternatives program # Remove the /usr/bin/ld file so that the alternatives program