Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Dodji Seketeli
ca55862f1d Update to upstream 2.7 tarball
- Do not build with by default XXH_INLINE_ALL anymore
- Drop xxhash-static dependency
- Add xz-devel >= 5.2.0 dependency to support reading xz-compressed binaries
- Support new libabigail.so.6.0.0 SONAME

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2025-04-11 17:01:27 +02:00
Dodji Seketeli
974f669695 Update for libabigail SONAME bump to 5
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2024-11-01 19:33:06 +01:00
Dodji Seketeli
c2859398bf Update to upstream 2.6 tarball
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2024-11-01 18:58:24 +01:00
Dodji Seketeli
3501acb62b Update to upstream 2.6 tarball
- Update to upstream 2.6 tarball
- Add xxhash-devel as BuildRequire

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2024-11-01 18:58:24 +01:00
Adam Williamson
03c6d7cf5a CI: drop 'directory' from discover config
This isn't valid, according to current upstream docs, and seems
to produce a warning:

warn: /plans/ci:discover - {'how': 'fmf', 'directory': 'tests'} is not valid under any of the given schemas

it looks like we just want 'how': 'fmf', and it finds the files
on its own.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-16 11:29:07 -07:00
Adam Williamson
75654ba97b CI: remove SPECPARTS directory to fix finding build dir
cd $TmpDir/BUILD/libabigail-* is failing currently:
/usr/share/beakerlib/testing.sh: line 896: cd: too many arguments
this is likely because of the SPECPARTS directory which now shows
up alongside the build directory. Let's try removing that before
we cd.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-16 10:11:15 -07:00
Adam Williamson
63c5c552f4 Change 'how' in plans/ci.fmf to try and fix CI tests
I think `how: beakerlib` is no longer allowed, see e.g.
https://artifacts.dev.testing-farm.io/ac6e6d82-985b-478a-adfc-bb402bf0b46e/pipeline.log
(from https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/dist-git-pipeline/job/master/376078/ ,
from https://bodhi.fedoraproject.org/updates/FEDORA-2024-6da0169ae7 )
which says
"Unsupported execute method 'beakerlib' in the '/plans/ci' plan."
I think it should now be `how: tmt`.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-16 10:11:12 -07:00
Dodji Seketeli
c14fe345d5 Update to upstream 2.5 tarball
- Update to upstream 2.5 tarball
- Drop patches
  0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
  0002-suppression-Add-has_strict_flexible_array_data_membe.patch
  0003-Replace-deprecated-mock-with-unittest.mock.patch
- Package libabigail.so.4 rather than the previous libabigail.so.3.
- Add abidb to the package

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2024-04-18 15:26:27 +02:00
5 changed files with 39 additions and 13 deletions

3
.gitignore vendored
View file

@ -41,3 +41,6 @@
/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
/libabigail-2.5.tar.xz
/libabigail-2.6.tar.xz
/libabigail-2.7.tar.xz

View file

@ -2,16 +2,13 @@
%global tarball_name %{name}-%{version}
Name: libabigail
Version: 2.4
Release: 7%{?dist}
Version: 2.7
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
Patch1: 0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
Patch2: 0002-suppression-Add-has_strict_flexible_array_data_membe.patch
Patch3: 0003-Replace-deprecated-mock-with-unittest.mock.patch
BuildRequires: git
BuildRequires: libbpf-devel
@ -20,9 +17,13 @@ BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: elfutils-devel
BuildRequires: libxml2-devel
BuildRequires: xxhash-devel
BuildRequires: xz-devel >= 5.2.0
BuildRequires: doxygen
BuildRequires: python3-sphinx
BuildRequires: texinfo
BuildRequires: python3-GitPython
BuildRequires: python3-libarchive-c
%if 0%{?fedora}
BuildRequires: dpkg
BuildRequires: koji
@ -97,7 +98,7 @@ them manually.
%autosetup -v -S git
%build
%configure --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static
%configure --enable-abidb --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static
make %{?_smp_mflags}
pushd doc
make html-doc
@ -137,8 +138,9 @@ fi
%{_bindir}/abilint
%{_bindir}/abipkgdiff
%{_bindir}/kmidiff
%{_libdir}/libabigail.so.3
%{_libdir}/libabigail.so.3.0.0
%{_bindir}/abidb
%{_libdir}/libabigail.so.6
%{_libdir}/libabigail.so.6.0.0
%{_libdir}/libabigail/default.abignore
%doc README AUTHORS ChangeLog
%license LICENSE.txt license-change-2020.txt
@ -162,6 +164,29 @@ fi
%endif
%changelog
* Fri Apr 11 2025 Dodji Seketeli <dodji@redhat.com> - 2.7-1
- Update to upstream 2.7 tarball
- Do not build with by default XXH_INLINE_ALL anymore
- Drop xxhash-static dependency
- Add xz-devel >= 5.2.0 dependency to support reading xz-compressed binaries
- Support new libabigail.so.6.0.0 SONAME
* Fri Nov 1 2024 Dodji Seketeli <dodji@redhat.com> - 2.6-1
- Update to upstream 2.6 tarball
- Add xxhash-devel as BuildRequires
- Update library to libabigail.so.5.0.0
* Thu Apr 18 2024 Dodji Seketeli <dodji@redhat.com> - 2.5-1
- Update to upstream 2.5 tarball
- Drop patches
0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch
0002-suppression-Add-has_strict_flexible_array_data_membe.patch
0003-Replace-deprecated-mock-with-unittest.mock.patch
- Package libabigail.so.4 rather than the previous libabigail.so.3.
- Add abidb to the package
Added BuildRequires: python3-GitPython, python3-libarchive-c
- Better handle error handling when tests fails.
* Fri Jan 26 2024 Maxwell G <maxwell@gtmx.me> - 2.4-7
- Remove python3-mock dependency
- Apply patch 0003-Replace-deprecated-mock-with-unittest.mock.patch

View file

@ -1,6 +1,5 @@
summary: CI Gating Plan
discover:
how: fmf
directory: tests
execute:
how: beakerlib
how: tmt

View file

@ -1,3 +1 @@
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
SHA512 (libabigail-2.7.tar.xz) = 6c31df739b94b83a5bac4b560eb1c16919495280ed3f5a37a84144e18a2362038337d3843948e3022b97ba73f7a41b32b33ca5f8b86a51ea57574dc3de98b9d5

View file

@ -55,6 +55,7 @@ rlJournalStart
rlRun "yum-builddep -y $TmpDir/SPECS/*.spec"
rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bc $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER"
rlRun "rlFileSubmit $TmpDir/rpmbuild.log"
rlRun "rm -rf $TmpDir/BUILD/libabigail-*-SPECPARTS"
rlRun "cd $TmpDir/BUILD/libabigail-*"
rlPhaseEnd