* Tue Apr 23 2024 Dodji Seketeli <dodji@redhat.com> - 2.5-1
- Update to upstream 2.5 tarball
- Drop patches (as they are now upstream):
  0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
  0002-suppression-Add-has_strict_flexible_array_data_membe.patch
- Add BuildRequires: python3-devel
- Add libabigail.so.4 and libabigail.so.4.0.0 to the RPM

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2024-04-23 17:48:58 +02:00
parent c22cdc0bc3
commit 34869ca8a3
3 changed files with 19 additions and 11 deletions

1
.gitignore vendored
View File

@ -41,3 +41,4 @@
/libabigail-2.4.tar.xz /libabigail-2.4.tar.xz
/0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch /0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
/0002-suppression-Add-has_strict_flexible_array_data_membe.patch /0002-suppression-Add-has_strict_flexible_array_data_membe.patch
/libabigail-2.5.tar.xz

View File

@ -2,15 +2,13 @@
%global tarball_name %{name}-%{version} %global tarball_name %{name}-%{version}
Name: libabigail Name: libabigail
Version: 2.4 Version: 2.5
Release: 6%{?dist} Release: 1%{?dist}
Summary: Set of ABI analysis tools Summary: Set of ABI analysis tools
License: Apache-2.0 WITH LLVM-exception License: Apache-2.0 WITH LLVM-exception
URL: https://sourceware.org/libabigail/ URL: https://sourceware.org/libabigail/
Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.xz Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.xz
Patch1: 0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
Patch2: 0002-suppression-Add-has_strict_flexible_array_data_membe.patch
BuildRequires: git BuildRequires: git
BuildRequires: libbpf-devel BuildRequires: libbpf-devel
@ -20,6 +18,7 @@ BuildRequires: libtool
BuildRequires: elfutils-devel BuildRequires: elfutils-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: python3-devel
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
BuildRequires: texinfo BuildRequires: texinfo
%if 0%{?fedora} %if 0%{?fedora}
@ -97,7 +96,7 @@ them manually.
%autosetup -v -S git %autosetup -v -S git
%build %build
%configure --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static %configure --enable-btf --enable-ctf --disable-silent-rules --disable-zip-archive --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
pushd doc pushd doc
make html-doc make html-doc
@ -122,7 +121,8 @@ make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot}
%endif %endif
%check %check
time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log && exit 2) time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2)
time make %{?_smp_mflags} check-self-compare || (cat tests/test-suite.log && exit 2)
if test $? -ne 0; then if test $? -ne 0; then
cat tests/tests-suite.log cat tests/tests-suite.log
@ -137,8 +137,8 @@ fi
%{_bindir}/abilint %{_bindir}/abilint
%{_bindir}/abipkgdiff %{_bindir}/abipkgdiff
%{_bindir}/kmidiff %{_bindir}/kmidiff
%{_libdir}/libabigail.so.3 %{_libdir}/libabigail.so.4
%{_libdir}/libabigail.so.3.0.0 %{_libdir}/libabigail.so.4.0.0
%{_libdir}/libabigail/default.abignore %{_libdir}/libabigail/default.abignore
%doc README AUTHORS ChangeLog %doc README AUTHORS ChangeLog
%license LICENSE.txt license-change-2020.txt %license LICENSE.txt license-change-2020.txt
@ -162,6 +162,15 @@ fi
%endif %endif
%changelog %changelog
* Tue Apr 23 2024 Dodji Seketeli <dodji@redhat.com> - 2.5-1
- Update to upstream 2.5 tarball
- Drop patches (as they are now upstream):
0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
0002-suppression-Add-has_strict_flexible_array_data_membe.patch
- Enable abidb
- Add BuildRequires: python3-devel
- Add libabigail.so.4 and libabigail.so.4.0.0 to the RPM
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-6 * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View File

@ -1,3 +1 @@
SHA512 (libabigail-2.4.tar.xz) = f9b51f8710c75b911da10c1e93e0b6b6fa575f99e8f37a5f51e93a8e6b79c9ad1541e531730b410385053d6565f807300f7910dca48cbd3e991d111198781d95 SHA512 (libabigail-2.5.tar.xz) = 4084ebdd723a8ce1632f70943e29d71328bb695b1b0012ebd3d6ec7edccde872b54e76dfb1bc1c261805919c5e636198cd5bf23baf113474a082db21f2cfdd0d
SHA512 (0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch) = f2145d6f9552dcd818228c08a68b6d54f7d79c53d79c2fff18f2664ac3684d2da09670247e482a18ee8f3b44fafbac425ca8d357ea4c621212b84b8180bd989e
SHA512 (0002-suppression-Add-has_strict_flexible_array_data_membe.patch) = 28b8eecba059e2e08e907ecc8ee9e03d57acdc94ce4e1aea4b8c51cf78c7711812215539149e5d24e77fb4c7a6b62c2e5062e7ff87b69d4ee2a85d2205e8b00b