remove conflicting infodir dir index file [release 2.42-2mamba;Tue Jan 30 2024]

This commit is contained in:
Silvan Calarco 2024-01-31 09:43:27 +01:00
parent 5295b1b00c
commit 011753dd77

View File

@ -8,14 +8,13 @@
Name: binutils Name: binutils
Version: 2.42 Version: 2.42
Release: 1mamba Release: 2mamba
Summary: GNU Binary Utility Development Utilities Summary: GNU Binary Utility Development Utilities
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.gz Source: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.gz
#Source: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
URL: https://www.gnu.org/software/binutils/binutils.html URL: https://www.gnu.org/software/binutils/binutils.html
Patch0: %{name}-2.19-readelf-CAN-2005-1704.patch Patch0: %{name}-2.19-readelf-CAN-2005-1704.patch
Patch1: %{name}-2.16.1-native-lib-dirs.patch Patch1: %{name}-2.16.1-native-lib-dirs.patch
@ -258,6 +257,9 @@ echo 'INPUT( %{_libdir}/libopcodes.a -lbfd )' > %{buildroot}%{_libdir}/libopcode
%endif %endif
# use alternatives for %_bindir/ld # use alternatives for %_bindir/ld
rm -f %{buildroot}%{_prefix}/%{_target_platform}/bin/ld rm -f %{buildroot}%{_prefix}/%{_target_platform}/bin/ld
# remove conflicting infodir index
rm -f %{buildroot}%{_datadir}/info/dir
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -389,7 +391,7 @@ exit 0
%{_mandir}/man1/strip.1* %{_mandir}/man1/strip.1*
%{_mandir}/man1/windmc.1* %{_mandir}/man1/windmc.1*
%{_mandir}/man1/windres.1* %{_mandir}/man1/windres.1*
%{_infodir}/* %{_infodir}/*.info*
%doc COPYING* README NEWS* %doc COPYING* README NEWS*
%files -n libbinutils %files -n libbinutils
@ -440,6 +442,9 @@ exit 0
%endif %endif
%changelog %changelog
* Tue Jan 30 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.42-2mamba
- remove conflicting infodir dir index file
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 2.42-1mamba * Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 2.42-1mamba
- automatic version update by autodist - automatic version update by autodist