Update to upstream 2.4 tarball.

- Update to upstream 2.4 tarball
- Drop patches
  0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch and
  0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch
- Enable build with support for BTF
- Added BuildRequires: libbpf-devel
- Support soname bumped to libabigail.so.3.0.0

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2023-10-20 22:47:16 +02:00
parent 40dceba6c4
commit 5915efec7c
3 changed files with 17 additions and 14 deletions

1
.gitignore vendored
View File

@ -38,3 +38,4 @@
/libabigail-2.2.tar.xz
/libabigail-2.3.tar.xz
/0001-ir-Remove-redundant-virtual-member-functions.patch
/libabigail-2.4.tar.xz

View File

@ -2,20 +2,15 @@
%global tarball_name %{name}-%{version}
Name: libabigail
Version: 2.3
Release: 3%{?dist}
Version: 2.4
Release: 1%{?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
# fix configure for removal of 'imp' in Python 3.12; code already fixed
# https://sourceware.org/pipermail/libabigail/2023q3/005581.html
Patch0: 0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch
# Fix compilation warning with GCC 13. This is fixed upstream by
# https://inbox.sourceware.org/libabigail/87fs2goyz4.fsf@redhat.com/
Patch1: 0001-ir-Remove-redundant-virtual-member-functions.patch
BuildRequires: libbpf-devel
BuildRequires: binutils-devel
BuildRequires: gcc-c++
BuildRequires: libtool
@ -97,10 +92,9 @@ them manually.
%prep
%setup -n %{tarball_name}
%patch -P 0 -p1
%build
%configure --enable-ctf --disable-silent-rules --disable-zip-archive --disable-static
%configure --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static
make %{?_smp_mflags}
pushd doc
make html-doc
@ -140,8 +134,8 @@ fi
%{_bindir}/abilint
%{_bindir}/abipkgdiff
%{_bindir}/kmidiff
%{_libdir}/libabigail.so.2
%{_libdir}/libabigail.so.2.0.0
%{_libdir}/libabigail.so.3
%{_libdir}/libabigail.so.3.0.0
%{_libdir}/libabigail/default.abignore
%doc README AUTHORS ChangeLog
%license LICENSE.txt license-change-2020.txt
@ -165,6 +159,15 @@ fi
%endif
%changelog
* Fri Oct 20 2023 Dodji Seketeli <dodji@redhat.com> - 2.4-1
- Update to upstream 2.4 tarball
- Drop patches
0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch and
0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch
- Enable build with support for BTF
- Added BuildRequires: libbpf-devel
- Support soname bumped to libabigail.so.3.0.0
* Thu Oct 12 2023 Dodji Seketeli <dodji@redhat.com> - 2.3-3
- Use the SPDX format to express the license of the package
- Fix a compilation warning

View File

@ -1,2 +1 @@
SHA512 (libabigail-2.3.tar.xz) = fdf0df51e2c262c723c11bef58cd0b89b27e67be196edeb33444fc06e7e61d3c2c227f59cb961aea6fc0c9b7f6f04e08b787a1cbbeb3d5507b968b8ae7630527
SHA512 (0001-ir-Remove-redundant-virtual-member-functions.patch) = 4c7e4b3a0651ac156922024c2055ce18917dc5b7570e1cbb14f2ba54031dd5c884bbeeaee7f5c829b25e1adfdd3798df17c9b9609dfc4ff3163a770401d9a95c
SHA512 (libabigail-2.4.tar.xz) = f9b51f8710c75b911da10c1e93e0b6b6fa575f99e8f37a5f51e93a8e6b79c9ad1541e531730b410385053d6565f807300f7910dca48cbd3e991d111198781d95