Fix sourceware.org/PR31045

- Fix sourceware.org/PR31045
  "Don't try setting translation unit for unique types"
  Apply patch
  0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch.
  That patch is applied in upstream mainline and will be available in
  libabigail 2.5.
- Use %autosetup instead of the previous %setup and %patch macros.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2023-11-14 15:04:03 +01:00
parent 539cc0746a
commit f4f06b1339
3 changed files with 14 additions and 3 deletions

1
.gitignore vendored
View File

@ -39,3 +39,4 @@
/libabigail-2.3.tar.xz
/0001-ir-Remove-redundant-virtual-member-functions.patch
/libabigail-2.4.tar.xz
/0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch

View File

@ -3,12 +3,13 @@
Name: libabigail
Version: 2.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Set of ABI analysis tools
License: Apache 2.0 WITH LLVM-exception
URL: https://sourceware.org/libabigail/
Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.xz
Patch1: 0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
BuildRequires: libbpf-devel
BuildRequires: binutils-devel
@ -91,7 +92,7 @@ them manually.
%endif
%prep
%setup -n %{tarball_name}
%autosetup -v -S git
%build
%configure --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static
@ -159,6 +160,15 @@ fi
%endif
%changelog
* Tue Nov 14 2023 Dodji Seketeli <dodji@redhat.com> - 2.4-2
- Fix sourceware.org/PR31045
"Don't try setting translation unit for unique types"
Apply patch
0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch.
That patch is applied in upstream mainline and will be available in
libabigail 2.5.
- Use %autosetup instead of the previous %setup and %patch macros.
* Fri Oct 20 2023 Dodji Seketeli <dodji@redhat.com> - 2.4-1
- Update to upstream 2.4 tarball
- Drop patches

View File

@ -1 +1 @@
SHA512 (libabigail-2.4.tar.xz) = f9b51f8710c75b911da10c1e93e0b6b6fa575f99e8f37a5f51e93a8e6b79c9ad1541e531730b410385053d6565f807300f7910dca48cbd3e991d111198781d95
SHA512 (0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch) = f2145d6f9552dcd818228c08a68b6d54f7d79c53d79c2fff18f2664ac3684d2da09670247e482a18ee8f3b44fafbac425ca8d357ea4c621212b84b8180bd989e