Compare commits

...

2 Commits

Author SHA1 Message Date
Dodji Seketeli 0a756650d2 Fix RHEL-16614 & RHEL-16629 2023-11-17 02:54:12 +00:00
Dodji Seketeli 7ea917fa41 Update to upstream 2.4 tarball
- Update to upstream 2.4
- Use SPDX licensing naming
- Build BTF support
- Add BuildRequires: libbpf-devel
- Update for SONAME bump
- Show details about the check and check-self-targets targets
  separatly.
- Resolves: RHEL-12491

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2023-11-01 14:49:22 +01:00
4 changed files with 43 additions and 9 deletions

3
.gitignore vendored
View File

@ -36,3 +36,6 @@
/libabigail-2.1.tar.gz
/libabigail-2.2.tar.xz
/libabigail-2.3.tar.xz
/libabigail-2.4.tar.xz
/0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
/0002-suppression-Add-has_strict_flexible_array_data_membe.patch

3
.libabigail.metadata Normal file
View File

@ -0,0 +1,3 @@
f73cc6c9bb815561dca6391dee5f32add8d085d0 libabigail-2.4.tar.xz
3457513819a4debc766aa7a8dea3fb63db032225 0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
8e44063322d53ef69e68f3de905859e96aee7d52 0002-suppression-Add-has_strict_flexible_array_data_membe.patch

View File

@ -2,17 +2,21 @@
%global tarball_name %{name}-%{version}
Name: libabigail
Version: 2.3
Release: 1%{?dist}
Version: 2.4
Release: 2%{?dist}
Summary: Set of ABI analysis tools
License: ASL 2.0
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
Patch2: 0002-suppression-Add-has_strict_flexible_array_data_membe.patch
BuildRequires: git
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: elfutils-devel
BuildRequires: libbpf-devel
BuildRequires: libxml2-devel
BuildRequires: doxygen
BuildRequires: %{_bindir}/python3
@ -58,10 +62,11 @@ form of man pages, texinfo documentation and API documentation in html
format.
%prep
%setup -n %{tarball_name}
%autosetup -v -S git
autoreconf
%build
%configure --disable-deb --disable-fedabipkgdiff --disable-zip-archive --disable-static
%configure --enable-btf --disable-deb --disable-fedabipkgdiff --disable-zip-archive --disable-static
make %{?_smp_mflags}
pushd doc
make html-doc
@ -81,7 +86,8 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot}
%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
cat tests/tests-suite.log
@ -105,8 +111,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
@ -125,6 +131,26 @@ fi
%doc doc/manuals/html/*
%changelog
* Thu Nov 16 2023 Dodji Seketeli <dodji@redhat.com> - 2.4-2
- Apply patch: 0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
Resolves: https://issues.redhat.com/browse/RHEL-16614
- Apply patch: 0002-suppression-Add-has_strict_flexible_array_data_membe.patch
Resolves: https://issues.redhat.com/browse/RHEL-16629
- Add git as a build requirement as we need git to apply the patches
aboves that apply binaries.
- Use %%autosetup to handle applying the patches using git.
- autoreconf after the patches touched at least one Makefile.am file.
* Wed Nov 01 2023 Dodji Seketeli <dodji@redhat.com> - 2.4-1
- Update to upstream 2.4
- Use SPDX licensing naming
- Build BTF support
- Add BuildRequires: libbpf-devel
- Update for SONAME bump
- Show details about the check and check-self-targets targets
separatly.
- Resolves: RHEL-12491
* Tue May 09 2023 Dodji Seketeli <dodji@redhat.com> - 2.3-1
- Update to upstream 2.3
- Remove the dos2unix surgery as it's now useless

View File

@ -1 +1,3 @@
SHA512 (libabigail-2.3.tar.xz) = fdf0df51e2c262c723c11bef58cd0b89b27e67be196edeb33444fc06e7e61d3c2c227f59cb961aea6fc0c9b7f6f04e08b787a1cbbeb3d5507b968b8ae7630527
SHA512 (libabigail-2.4.tar.xz) = f9b51f8710c75b911da10c1e93e0b6b6fa575f99e8f37a5f51e93a8e6b79c9ad1541e531730b410385053d6565f807300f7910dca48cbd3e991d111198781d95
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