80d5645c |
Summary: Contains a linker, an assembler, and other tools
Name: binutils |
561eb23f |
Version: 2.31
Release: 1%{?dist} |
80d5645c |
License: GPLv2+
URL: http://www.gnu.org/software/binutils
Group: System Environment/Base
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnu.org/gnu/binutils/%{name}-%{version}.tar.xz |
561eb23f |
%define sha1 binutils=e1a564cd356d2126d2e9a59e8587757634e731aa |
f4d17450 |
%description
The Binutils package contains a linker, an assembler,
and other tools for handling object files. |
80d5645c |
%package devel
Summary: Header and development files for binutils
Requires: %{name} = %{version}
%description devel |
bde805ab |
It contains the libraries and header files to create applications |
f4d17450 |
for handling compiled objects.
%prep
%setup -q
%build
install -vdm 755 ../binutils-build
cd ../binutils-build
../%{name}-%{version}/configure \ |
80d5645c |
--prefix=%{_prefix} \
--enable-gold \
--enable-ld=default \
--enable-plugins \
--enable-shared \
--disable-werror \
--with-system-zlib \ |
36e5080b |
--enable-install-libiberty \ |
80d5645c |
--disable-silent-rules |
f4d17450 |
make %{?_smp_mflags} tooldir=%{_prefix}
%install |
5258b786 |
pushd ../binutils-build |
f36af574 |
make %{?_smp_mflags} DESTDIR=%{buildroot} tooldir=%{_prefix} install |
f4d17450 |
find %{buildroot} -name '*.la' -delete
# Don't remove libiberity.a
rm -rf %{buildroot}/%{_infodir} |
5258b786 |
popd
%find_lang %{name} --all-name |
aebccd16 |
|
f4d17450 |
%check
cd ../binutils-build |
f294c498 |
sed -i 's/testsuite/ /g' gold/Makefile |
aebccd16 |
make %{?_smp_mflags} check
|
80d5645c |
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig |
5258b786 |
%files -f %{name}.lang |
f4d17450 |
%defattr(-,root,root) |
11fcb5fb |
%{_bindir}/dwp |
f4d17450 |
%{_bindir}/gprof
%{_bindir}/ld.bfd |
11fcb5fb |
%{_bindir}/ld.gold |
f4d17450 |
%{_bindir}/c++filt
%{_bindir}/objdump
%{_bindir}/as
%{_bindir}/ar
%{_bindir}/objcopy
%{_bindir}/strings
%{_bindir}/addr2line
%{_bindir}/nm
%{_bindir}/size
%{_bindir}/ld
%{_bindir}/elfedit
%{_bindir}/ranlib
%{_bindir}/readelf
%{_bindir}/strip |
f36af574 |
%{_libdir}/ldscripts/* |
f4d17450 |
%{_mandir}/man1/readelf.1.gz
%{_mandir}/man1/windmc.1.gz
%{_mandir}/man1/ranlib.1.gz
%{_mandir}/man1/gprof.1.gz
%{_mandir}/man1/strip.1.gz
%{_mandir}/man1/c++filt.1.gz
%{_mandir}/man1/as.1.gz
%{_mandir}/man1/objcopy.1.gz
%{_mandir}/man1/elfedit.1.gz
%{_mandir}/man1/strings.1.gz
%{_mandir}/man1/nm.1.gz
%{_mandir}/man1/ar.1.gz
%{_mandir}/man1/ld.1.gz
%{_mandir}/man1/dlltool.1.gz
%{_mandir}/man1/addr2line.1.gz
%{_mandir}/man1/windres.1.gz
%{_mandir}/man1/size.1.gz
%{_mandir}/man1/objdump.1.gz
%{_libdir}/libbfd-%{version}.so
%{_libdir}/libopcodes-%{version}.so
%files devel
%{_includedir}/plugin-api.h
%{_includedir}/symcat.h
%{_includedir}/bfd.h
%{_includedir}/ansidecl.h
%{_includedir}/bfdlink.h
%{_includedir}/dis-asm.h |
36e5080b |
%{_includedir}/libiberty/* |
561eb23f |
%{_includedir}/diagnostics.h |
f4d17450 |
%{_libdir}/libbfd.a
%{_libdir}/libopcodes.a
%{_libdir}/libbfd.so
%{_libdir}/libopcodes.so |
36e5080b |
%{_lib64dir}/libiberty.a |
f4d17450 |
%changelog |
561eb23f |
* Wed Aug 1 2018 Keerthana K <keerthanak@vmware.com> 2.31-1
- Update to version 2.31. |
c3b85793 |
* Thu Jun 7 2018 Keerthana K <keerthanak@vmware.com> 2.30-4
- Fix CVE-2018-10373 |
36e5080b |
* Mon Mar 19 2018 Alexey Makhalov <amakhalov@vmware.com> 2.30-3
- Add libiberty to the -devel package |
bde805ab |
* Wed Feb 28 2018 Xiaolin Li <xiaolinl@vmware.com> 2.30-2
- Fix CVE-2018-6543. |
80d5645c |
* Mon Jan 29 2018 Xiaolin Li <xiaolinl@vmware.com> 2.30-1
- Update to version 2.30 |
d55cb0f6 |
* Mon Dec 18 2017 Anish Swaminathan <anishs@vmware.com> 2.29.1-5
- Fix CVEs CVE-2017-17121, CVE-2017-17122, CVE-2017-17123,
- CVE-2017-17124, CVE-2017-17125 |
aa7ff7e7 |
* Mon Dec 4 2017 Anish Swaminathan <anishs@vmware.com> 2.29.1-4
- Fix CVEs CVE-2017-16826, CVE-2017-16827, CVE-2017-16828, CVE-2017-16829,
- CVE-2017-16830, CVE-2017-16831, CVE-2017-16832 |
f36af574 |
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 2.29.1-3
- Aarch64 support
- Parallel build |
2a317277 |
* Thu Oct 12 2017 Anish Swaminathan <anishs@vmware.com> 2.29.1-2
- Add patch to fix CVE-2017-15020 |
56799ad1 |
* Mon Oct 2 2017 Anish Swaminathan <anishs@vmware.com> 2.29.1-1
- Version update to 2.29.1, fix CVEs CVE-2017-12799, CVE-2017-14729,CVE-2017-14745 |
434f5cc9 |
* Fri Aug 11 2017 Anish Swaminathan <anishs@vmware.com> 2.29-3
- Apply patches for CVE-2017-12448,CVE-2017-12449,CVE-2017-12450,CVE-2017-12451,
- CVE-2017-12452,CVE-2017-12453,CVE-2017-12454,CVE-2017-12455,CVE-2017-12456,
- CVE-2017-12457,CVE-2017-12458,CVE-2017-12459 |
f294c498 |
* Tue Aug 8 2017 Rongrong Qiu <rqiu@vmware.com> 2.29-2
- fix for make check for bug 1900247 |
37e9088c |
* Wed Aug 2 2017 Alexey Makhalov <amakhalov@vmware.com> 2.29-1
- Version update
* Tue May 16 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.28-2
- Patch for CVE-2017-8421
* Thu Apr 06 2017 Anish Swaminathan <anishs@vmware.com> 2.28-1
- Upgraded to version 2.28
- Apply patch for CVE-2017-6969
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.25.1-2
- GA - Bump release of all rpms
* Tue Jan 12 2016 Xiaolin Li <xiaolinl@vmware.com> 2.25.1-1
- Updated to version 2.25.1
* Tue Nov 10 2015 Xiaolin Li <xiaolinl@vmware.com> 2.25-2
- Handled locale files with macro find_lang
* Mon Apr 6 2015 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.25-1
- Updated to 2.25
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.24-1
- Initial build. First version |