Revert "[dev] binutils: export libiberty for devel subpackage (#1340)" (#1346)

This reverts commit daf69ca4ef.
This commit is contained in:
Pawel Winogrodzki 2021-08-30 12:33:21 -07:00 коммит произвёл GitHub
Родитель 736fb4b9b3
Коммит 1453a8bf22
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 11 добавлений и 22 удалений

Просмотреть файл

@ -1,10 +1,7 @@
Summary: Contains a linker, an assembler, and other tools
Name: binutils
Version: 2.36.1
# WARNING: we are shipping a bunch of static libraries `*.a`. With every release
# we MUST update all specs depending on `binutils-devel` in order to link
# with the updated libraries.
Release: 3%{?dist}
Release: 2%{?dist}
License: GPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
@ -40,15 +37,12 @@ for handling compiled objects.
--disable-silent-rules
%make_build tooldir=%{_prefix}
%make_build CFLAGS="-g -fPIC" -C libiberty
%install
%make_install tooldir=%{_prefix}
find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_infodir}
%find_lang %{name} --all-name
install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
%check
sed -i 's/testsuite/ /g' gold/Makefile
@ -111,7 +105,6 @@ sed -i 's/testsuite/ /g' gold/Makefile
%{_includedir}/ctf-api.h
%{_includedir}/ctf.h
%{_includedir}/demangle.h
%{_includedir}/libiberty.h
%{_libdir}/libbfd.a
%{_libdir}/libopcodes.a
%{_libdir}/libbfd.so
@ -125,12 +118,8 @@ sed -i 's/testsuite/ /g' gold/Makefile
%{_libdir}/libctf.so
%{_libdir}/libctf.so.0
%{_libdir}/libctf.so.0.*
%{_libdir}/libiberty.a
%changelog
* Fri Aug 27 2021 Muhammad Falak <mwani@microsoft.com> - 2.36.1-3
- Export libiberty.{a,h} for `devel` subpackage
* Tue Aug 24 2021 Thomas Crain <thcrain@microsoft.com> - 2.36.1-2
- Add patch from Fedora 34 (license: MIT) to export demangle.h from libiberty sources
- Lint spec

Просмотреть файл

@ -12,8 +12,8 @@ zlib-devel-1.2.11-5.cm2.aarch64.rpm
file-5.38-2.cm2.aarch64.rpm
file-devel-5.38-2.cm2.aarch64.rpm
file-libs-5.38-2.cm2.aarch64.rpm
binutils-2.36.1-3.cm2.aarch64.rpm
binutils-devel-2.36.1-3.cm2.aarch64.rpm
binutils-2.36.1-2.cm2.aarch64.rpm
binutils-devel-2.36.1-2.cm2.aarch64.rpm
gmp-6.1.2-5.cm2.aarch64.rpm
gmp-devel-6.1.2-5.cm2.aarch64.rpm
mpfr-4.0.1-3.cm2.aarch64.rpm

Просмотреть файл

@ -12,8 +12,8 @@ zlib-devel-1.2.11-5.cm2.x86_64.rpm
file-5.38-2.cm2.x86_64.rpm
file-devel-5.38-2.cm2.x86_64.rpm
file-libs-5.38-2.cm2.x86_64.rpm
binutils-2.36.1-3.cm2.x86_64.rpm
binutils-devel-2.36.1-3.cm2.x86_64.rpm
binutils-2.36.1-2.cm2.x86_64.rpm
binutils-devel-2.36.1-2.cm2.x86_64.rpm
gmp-6.1.2-5.cm2.x86_64.rpm
gmp-devel-6.1.2-5.cm2.x86_64.rpm
mpfr-4.0.1-3.cm2.x86_64.rpm

Просмотреть файл

@ -12,9 +12,9 @@ bash-4.4.18-7.cm2.aarch64.rpm
bash-debuginfo-4.4.18-7.cm2.aarch64.rpm
bash-devel-4.4.18-7.cm2.aarch64.rpm
bash-lang-4.4.18-7.cm2.aarch64.rpm
binutils-2.36.1-3.cm2.aarch64.rpm
binutils-debuginfo-2.36.1-3.cm2.aarch64.rpm
binutils-devel-2.36.1-3.cm2.aarch64.rpm
binutils-2.36.1-2.cm2.aarch64.rpm
binutils-debuginfo-2.36.1-2.cm2.aarch64.rpm
binutils-devel-2.36.1-2.cm2.aarch64.rpm
bison-3.1-4.cm2.aarch64.rpm
bison-debuginfo-3.1-4.cm2.aarch64.rpm
bzip2-1.0.6-16.cm2.aarch64.rpm

Просмотреть файл

@ -12,9 +12,9 @@ bash-4.4.18-7.cm2.x86_64.rpm
bash-debuginfo-4.4.18-7.cm2.x86_64.rpm
bash-devel-4.4.18-7.cm2.x86_64.rpm
bash-lang-4.4.18-7.cm2.x86_64.rpm
binutils-2.36.1-3.cm2.x86_64.rpm
binutils-debuginfo-2.36.1-3.cm2.x86_64.rpm
binutils-devel-2.36.1-3.cm2.x86_64.rpm
binutils-2.36.1-2.cm2.x86_64.rpm
binutils-debuginfo-2.36.1-2.cm2.x86_64.rpm
binutils-devel-2.36.1-2.cm2.x86_64.rpm
bison-3.1-4.cm2.x86_64.rpm
bison-debuginfo-3.1-4.cm2.x86_64.rpm
bzip2-1.0.6-16.cm2.x86_64.rpm