From 23648acbc42329ae52ddeca54851fddd7bbb5836 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Mon, 4 Oct 2021 11:42:38 +0200 Subject: [PATCH 01/55] Update to upstream 2.0 tarball Signed-off-by: Dodji Seketeli --- libabigail.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 7d0aa2e..b5f8c78 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,11 +2,11 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 1.8.2 -Release: 2%{?dist} +Version: 2.0 +Release: 1%{?dist} Summary: Set of ABI analysis tools -License: LGPLv3+ +License: ASL 2.0 URL: https://sourceware.org/libabigail/ Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz @@ -139,7 +139,7 @@ fi %{_libdir}/libabigail.so.0.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog -%license COPYING COPYING-LGPLV3 COPYING-GPLV3 +%license LICENSE.txt license-change-2020.txt %{_mandir}/man1/* %{_mandir}/man7/* %{_infodir}/abigail.info* @@ -151,7 +151,7 @@ fi %{_datadir}/aclocal/abigail.m4 %files doc -%license COPYING COPYING-LGPLV3 COPYING-GPLV3 +%license LICENSE.txt license-change-2020.txt %doc doc/manuals/html/* %if 0%{?fedora} @@ -160,6 +160,10 @@ fi %endif %changelog +* Mon Oct 4 2021 Dodji Seketeli - 2.0-1 +- Update to upstream 2.0 tarball +- Change License to ASL 2.0 to comply with the upstream license change. + * Thu Jul 22 2021 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 2632f233a16ab2dc053cfdc46867678a7a562cac Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Mon, 4 Oct 2021 12:45:01 +0200 Subject: [PATCH 02/55] Update to upstream 2.0 tarball Signed-off-by: Dodji Seketeli --- libabigail.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 7d0aa2e..b5f8c78 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,11 +2,11 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 1.8.2 -Release: 2%{?dist} +Version: 2.0 +Release: 1%{?dist} Summary: Set of ABI analysis tools -License: LGPLv3+ +License: ASL 2.0 URL: https://sourceware.org/libabigail/ Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz @@ -139,7 +139,7 @@ fi %{_libdir}/libabigail.so.0.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog -%license COPYING COPYING-LGPLV3 COPYING-GPLV3 +%license LICENSE.txt license-change-2020.txt %{_mandir}/man1/* %{_mandir}/man7/* %{_infodir}/abigail.info* @@ -151,7 +151,7 @@ fi %{_datadir}/aclocal/abigail.m4 %files doc -%license COPYING COPYING-LGPLV3 COPYING-GPLV3 +%license LICENSE.txt license-change-2020.txt %doc doc/manuals/html/* %if 0%{?fedora} @@ -160,6 +160,10 @@ fi %endif %changelog +* Mon Oct 4 2021 Dodji Seketeli - 2.0-1 +- Update to upstream 2.0 tarball +- Change License to ASL 2.0 to comply with the upstream license change. + * Thu Jul 22 2021 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 4e07dea30d2caf5e38bbe0edb2e725ce589814a1 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Mon, 4 Oct 2021 15:22:33 +0200 Subject: [PATCH 03/55] Upload 2.0 tarball Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 400eadc..2937d8f 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /libabigail-1.8.tar.gz /libabigail-1.8.1.tar.gz /libabigail-1.8.2.tar.gz +/libabigail-2.0.tar.gz diff --git a/sources b/sources index 2fbf95e..6928e6d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-1.8.2.tar.gz) = fa8edaf39632e26430481f15e962a098459eac087074e85ca055293ba324ec5944c45880fcb36f1c54a64652605a439cbf9247dfea9bfd3ec502cc7292dd1c8d +SHA512 (libabigail-2.0.tar.gz) = 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180 From 72ace1255cc5fc10f2c5f396dfdc20e5fd2622d4 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Mon, 4 Oct 2021 15:24:23 +0200 Subject: [PATCH 04/55] Upload 2.0 tarball. Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 400eadc..2937d8f 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /libabigail-1.8.tar.gz /libabigail-1.8.1.tar.gz /libabigail-1.8.2.tar.gz +/libabigail-2.0.tar.gz diff --git a/sources b/sources index 2fbf95e..6928e6d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-1.8.2.tar.gz) = fa8edaf39632e26430481f15e962a098459eac087074e85ca055293ba324ec5944c45880fcb36f1c54a64652605a439cbf9247dfea9bfd3ec502cc7292dd1c8d +SHA512 (libabigail-2.0.tar.gz) = 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180 From c7789d9fb3759490de936518b1b5d9e71fbfa39b Mon Sep 17 00:00:00 2001 From: Michal Kolar Date: Tue, 7 Sep 2021 01:16:59 +0000 Subject: [PATCH 05/55] init FMF CI gating --- .fmf/version | 1 + gating.yaml | 19 ++++++ plans/ci.fmf | 6 ++ tests/libabigail-testsuite/Makefile | 63 ++++++++++++++++++++ tests/libabigail-testsuite/PURPOSE | 3 + tests/libabigail-testsuite/main.fmf | 15 +++++ tests/libabigail-testsuite/runtest.sh | 83 +++++++++++++++++++++++++++ 7 files changed, 190 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/ci.fmf create mode 100644 tests/libabigail-testsuite/Makefile create mode 100644 tests/libabigail-testsuite/PURPOSE create mode 100644 tests/libabigail-testsuite/main.fmf create mode 100755 tests/libabigail-testsuite/runtest.sh diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..ce3cdc1 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,19 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/plans/ci.fmf b/plans/ci.fmf new file mode 100644 index 0000000..1ad2c12 --- /dev/null +++ b/plans/ci.fmf @@ -0,0 +1,6 @@ +summary: CI Gating Plan +discover: + how: fmf + directory: tests +execute: + how: beakerlib diff --git a/tests/libabigail-testsuite/Makefile b/tests/libabigail-testsuite/Makefile new file mode 100644 index 0000000..4d741d5 --- /dev/null +++ b/tests/libabigail-testsuite/Makefile @@ -0,0 +1,63 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /tools/libabigail/Sanity/libabigail-testsuite +# Description: libabigail testing by upstream testsuite +# Author: Michal Kolar +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/tools/libabigail/Sanity/libabigail-testsuite +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + + +include /usr/share/rhts/lib/rhts-make.include + +$(METADATA): Makefile + @echo "Owner: Michal Kolar " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: libabigail testing by upstream testsuite" >> $(METADATA) + @echo "Type: Sanity" >> $(METADATA) + @echo "TestTime: 1h" >> $(METADATA) + @echo "RunFor: libabigail" >> $(METADATA) + @echo "Requires: libabigail rpm-build yum-utils gcc-c++" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv2+" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6 -RHEL7" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/libabigail-testsuite/PURPOSE b/tests/libabigail-testsuite/PURPOSE new file mode 100644 index 0000000..52e213c --- /dev/null +++ b/tests/libabigail-testsuite/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of /tools/libabigail/Sanity/libabigail-testsuite +Description: libabigail testing by upstream testsuite +Author: Michal Kolar diff --git a/tests/libabigail-testsuite/main.fmf b/tests/libabigail-testsuite/main.fmf new file mode 100644 index 0000000..23d68bb --- /dev/null +++ b/tests/libabigail-testsuite/main.fmf @@ -0,0 +1,15 @@ +summary: libabigail testing by upstream testsuite +description: '' +contact: Michal Kolar +component: +- libabigail +test: ./runtest.sh +framework: beakerlib +recommend: +- libabigail +- rpm-build +- yum-utils +- gcc-c++ +duration: 1h +extra-summary: /tools/libabigail/Sanity/libabigail-testsuite +extra-task: /tools/libabigail/Sanity/libabigail-testsuite diff --git a/tests/libabigail-testsuite/runtest.sh b/tests/libabigail-testsuite/runtest.sh new file mode 100755 index 0000000..4b69b8b --- /dev/null +++ b/tests/libabigail-testsuite/runtest.sh @@ -0,0 +1,83 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /tools/libabigail/Sanity/libabigail-testsuite +# Description: libabigail testing by upstream testsuite +# Author: Michal Kolar +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2021 Red Hat, Inc. +# +# This program is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +BUILD_USER=${BUILD_USER:-lbbglbld} +TESTS_COUNT_MIN=${TESTS_COUNT_MIN:-10} +PACKAGE="libabigail" +REQUIRES="$PACKAGE rpm-build gcc-c++" +if rlIsFedora; then + REQUIRES="$REQUIRES dnf-utils" +else + REQUIRES="$REQUIRES yum-utils" +fi + +rlJournalStart + rlPhaseStartSetup + rlShowRunningKernel + rlAssertRpm --all + rlRun "TmpDir=`mktemp -d /home/libabigail.XXXXXXXXXX`" # work in /home due to high demands on disk space + rlRun "pushd $TmpDir" + rlFetchSrcForInstalled $PACKAGE + rlRun "useradd -m -N $BUILD_USER" 0,9 + [ "$?" == "0" ] && rlRun "del=yes" + rlRun "chown -R $BUILD_USER:users $TmpDir" + rlPhaseEnd + + rlPhaseStartSetup "build libabigail" + rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm" + 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 "cd $TmpDir/BUILD/libabigail-*" + rlPhaseEnd + + rlPhaseStartTest "run testsuite" + rlRun "su -c 'make -k check |& tee -a $TmpDir/testsuite.log' $BUILD_USER" + rlRun "cp tests/test-suite.log $TmpDir/make-check.log" + rlRun "rlFileSubmit $TmpDir/make-check.log" + rlRun "su -c 'make -k check-self-compare |& tee -a $TmpDir/testsuite.log' $BUILD_USER" + rlRun "cp tests/test-suite.log $TmpDir/make-check-self-compare.log" + rlRun "rlFileSubmit $TmpDir/make-check-self-compare.log" + rlPhaseEnd + + rlPhaseStartTest "evaluate results" + rlRun "cd $TmpDir" + rlRun "cat make-*.log | grep -E '^# FAIL:|^# XPASS:|^# ERROR:' | grep -vqE ':\s*0$'" 1 + rlRun "tests_count=\$(grep -E '^PASS:' $TmpDir/testsuite.log | wc -l)" + [ "$tests_count" -ge "$TESTS_COUNT_MIN" ] && rlLogInfo "Test counter: $tests_count" || rlFail "Test counter $tests_count should be greater than or equal to $TESTS_COUNT_MIN" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $TmpDir" + [ "$del" == "yes" ] && rlRun "userdel -f -r $BUILD_USER" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From 3c0f019a08f0ac1ff6ef04db06934d02fb7f9bec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 15:43:26 +0000 Subject: [PATCH 06/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index b5f8c78..51409d7 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 @@ -160,6 +160,9 @@ fi %endif %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Oct 4 2021 Dodji Seketeli - 2.0-1 - Update to upstream 2.0 tarball - Change License to ASL 2.0 to comply with the upstream license change. From 3d5edfbb91aa35720e42db7e72c18c30a2e5573c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 17:16:23 +0000 Subject: [PATCH 07/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 51409d7..d03b51a 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 @@ -160,6 +160,9 @@ fi %endif %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From d14416abf035bb75c325d8c57438194303558c78 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 21 Sep 2022 10:15:16 +0200 Subject: [PATCH 08/55] Update to upstream 2.1 Signed-off-by: Dodji Seketeli --- libabigail.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index d03b51a..3bd3df6 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,8 +2,8 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.0 -Release: 3%{?dist} +Version: 2.1 +Release: 1%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 @@ -94,7 +94,7 @@ them manually. %setup -n %{tarball_name} %build -%configure --disable-silent-rules --disable-zip-archive --disable-static +%configure --enable-ctf --disable-silent-rules --disable-zip-archive --disable-static make %{?_smp_mflags} pushd doc make html-doc @@ -160,6 +160,9 @@ fi %endif %changelog +* Wed Sep 21 2022 Dodji Seketeli - 2.1-1 +- Update to upstream 2.1 + * Thu Jul 21 2022 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From bedac137d45a9d7bba37e0e40453d224bc8e113c Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 21 Sep 2022 10:16:59 +0200 Subject: [PATCH 09/55] Enable CTF support when running tests. Signed-off-by: Dodji Seketeli --- libabigail.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libabigail.spec b/libabigail.spec index 3bd3df6..eba9ed6 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -162,6 +162,7 @@ fi %changelog * Wed Sep 21 2022 Dodji Seketeli - 2.1-1 - Update to upstream 2.1 +- Enable CTF support when running the tests. * Thu Jul 21 2022 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From fa30a213a25d34a9039d57647b43607031c742c7 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 21 Sep 2022 10:39:14 +0200 Subject: [PATCH 10/55] Add binutils-devel to BuildRequires for CTF support. Signed-off-by: Dodji Seketeli --- libabigail.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libabigail.spec b/libabigail.spec index eba9ed6..3d19f8d 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -11,6 +11,7 @@ URL: https://sourceware.org/libabigail/ Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz +BuildRequires: binutils-devel BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: elfutils-devel @@ -163,6 +164,7 @@ fi * Wed Sep 21 2022 Dodji Seketeli - 2.1-1 - Update to upstream 2.1 - Enable CTF support when running the tests. +- Add binutils-devel as BuildRequires, for CTF. * Thu Jul 21 2022 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 774cdb1e771245467560bad4d4e0f91350a1f0e1 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 21 Sep 2022 11:40:46 +0200 Subject: [PATCH 11/55] Add libabigail.so.1 and libabigail.so.1.0.0 to the package. Signed-off-by: Dodji Seketeli --- libabigail.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 3d19f8d..ef1ef33 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -136,8 +136,8 @@ fi %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff -%{_libdir}/libabigail.so.0 -%{_libdir}/libabigail.so.0.0.0 +%{_libdir}/libabigail.so.1 +%{_libdir}/libabigail.so.1.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -163,6 +163,7 @@ fi %changelog * Wed Sep 21 2022 Dodji Seketeli - 2.1-1 - Update to upstream 2.1 +- Add libabigail.so.1 and libabigail.so.1.0.0 to the package. - Enable CTF support when running the tests. - Add binutils-devel as BuildRequires, for CTF. From 0b15fbd508b34d15e4eeda4802dab3eb998d9cee Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Sun, 25 Sep 2022 08:46:37 +0200 Subject: [PATCH 12/55] Upload 2.1 tarball. Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2937d8f..bef8277 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ /libabigail-1.8.1.tar.gz /libabigail-1.8.2.tar.gz /libabigail-2.0.tar.gz +/libabigail-2.1.tar.gz diff --git a/sources b/sources index 6928e6d..6a47e06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.0.tar.gz) = 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180 +SHA512 (libabigail-2.1.tar.gz) = 0daeddb4a63874b6590966be9aa43d9eacdc96a9cd185d59427c97b86cf5aa647a36bed53a1954f24385058fd9b4df82fd008070e24d2c40dd05ff1d9ca50fb8 From 79332d2faa54c2a04577b46cacfcb52d1c6c4900 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Sun, 25 Sep 2022 08:54:56 +0200 Subject: [PATCH 13/55] Update to upstream 2.1 release. Signed-off-by: Dodji Seketeli --- libabigail.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index b5f8c78..ba909c1 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,7 +2,7 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.0 +Version: 2.1 Release: 1%{?dist} Summary: Set of ABI analysis tools @@ -10,7 +10,6 @@ License: ASL 2.0 URL: https://sourceware.org/libabigail/ Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz - BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: elfutils-devel @@ -94,7 +93,7 @@ them manually. %setup -n %{tarball_name} %build -%configure --disable-silent-rules --disable-zip-archive --disable-static +%configure --disable-silent-rules --disable-zip-archive --disable-static make %{?_smp_mflags} pushd doc make html-doc @@ -135,8 +134,8 @@ fi %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff -%{_libdir}/libabigail.so.0 -%{_libdir}/libabigail.so.0.0.0 +%{_libdir}/libabigail.so.1 +%{_libdir}/libabigail.so.1.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -160,6 +159,10 @@ fi %endif %changelog +* Sun Sep 25 2022 Dodji Seketeli - 2.1-1 +- Update to upstream 2.1 +- Add libabigail.so.1 and libabigail.so.1.0.0 to the package. + * Mon Oct 4 2021 Dodji Seketeli - 2.0-1 - Update to upstream 2.0 tarball - Change License to ASL 2.0 to comply with the upstream license change. From efaf5e88b1fb53d3d344c106d18daf002c95045d Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Sun, 25 Sep 2022 08:55:31 +0200 Subject: [PATCH 14/55] Upload upstream 2.1 tarball. Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2937d8f..bef8277 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ /libabigail-1.8.1.tar.gz /libabigail-1.8.2.tar.gz /libabigail-2.0.tar.gz +/libabigail-2.1.tar.gz diff --git a/sources b/sources index 6928e6d..6a47e06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.0.tar.gz) = 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180 +SHA512 (libabigail-2.1.tar.gz) = 0daeddb4a63874b6590966be9aa43d9eacdc96a9cd185d59427c97b86cf5aa647a36bed53a1954f24385058fd9b4df82fd008070e24d2c40dd05ff1d9ca50fb8 From 7a7c6a712e207e3d558003c06655eb8a63a1d6f5 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 2 Dec 2022 19:31:51 +0100 Subject: [PATCH 15/55] Update to upstream 2.2 release Signed-off-by: Dodji Seketeli --- .gitignore | 1 + libabigail.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bef8277..4e7861f 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /libabigail-1.8.2.tar.gz /libabigail-2.0.tar.gz /libabigail-2.1.tar.gz +/libabigail-2.2.tar.xz diff --git a/libabigail.spec b/libabigail.spec index ef1ef33..4531994 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,13 +2,13 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.1 +Version: 2.2 Release: 1%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 URL: https://sourceware.org/libabigail/ -Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz +Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.xz BuildRequires: binutils-devel @@ -161,6 +161,10 @@ fi %endif %changelog +* Fri Dec 2 2022 Dodji Seketeli - 2.2-1 +- Update to upstream 2.2 release. +- Switch to a tar.xz tarball. + * Wed Sep 21 2022 Dodji Seketeli - 2.1-1 - Update to upstream 2.1 - Add libabigail.so.1 and libabigail.so.1.0.0 to the package. diff --git a/sources b/sources index 6a47e06..3ed7911 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.1.tar.gz) = 0daeddb4a63874b6590966be9aa43d9eacdc96a9cd185d59427c97b86cf5aa647a36bed53a1954f24385058fd9b4df82fd008070e24d2c40dd05ff1d9ca50fb8 +SHA512 (libabigail-2.2.tar.xz) = c512c4a497ea6bb88283feae6c31cf5fe347c260cf1670fe65296bf158d3a2aa449ca518a4f2780e814ffbe6970c7856d2ab91e15499638db78bc52d67d794ce From 99814197d63d5fea5af165254a29675c3fe0d0b1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 15:47:44 +0000 Subject: [PATCH 16/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 4531994..ebea98f 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 @@ -161,6 +161,9 @@ fi %endif %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Dec 2 2022 Dodji Seketeli - 2.2-1 - Update to upstream 2.2 release. - Switch to a tar.xz tarball. From 665abc8164ed084e5303639530ef419bee889cd5 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 27 Apr 2023 15:19:11 +0200 Subject: [PATCH 17/55] Update to upstream 2.3 release Signed-off-by: Dodji Seketeli --- libabigail.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index ebea98f..db6eb1c 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,8 +2,8 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.2 -Release: 2%{?dist} +Version: 2.3 +Release: 1%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 @@ -19,7 +19,6 @@ BuildRequires: libxml2-devel BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo -BuildRequires: dos2unix %if 0%{?fedora} BuildRequires: dpkg BuildRequires: koji @@ -113,7 +112,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' # Install man and texinfo files as they are not installed by the # default 'install' target of the makefile. make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} -dos2unix doc/manuals/html/_static/jquery.js %if 0%{?fedora} # Explicitly use Python 3 as the interpreter @@ -136,8 +134,8 @@ fi %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff -%{_libdir}/libabigail.so.1 -%{_libdir}/libabigail.so.1.0.0 +%{_libdir}/libabigail.so.2 +%{_libdir}/libabigail.so.2.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -161,6 +159,13 @@ fi %endif %changelog +* Thu Apr 27 2023 Dodji Seketeli - 2.3-1 +- Update to upstream 2.3 release +- Don't do "dos2unix doc/manuals/html/_static/jquery.js" + The file doc/manuals/html/_static/jquery.js is no more. + Hence, don't BuildRequires: dos2unix anymore. +- The libaigail binary is now libabigail.so.2.0.0. + * Thu Jan 19 2023 Fedora Release Engineering - 2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 0437cded0b7379c6920385622b10a5f79c1cd0a6 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 27 Apr 2023 15:25:15 +0200 Subject: [PATCH 18/55] Upload new 2.3 tarball Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4e7861f..e54ccfa 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ /libabigail-2.0.tar.gz /libabigail-2.1.tar.gz /libabigail-2.2.tar.xz +/libabigail-2.3.tar.xz diff --git a/sources b/sources index 3ed7911..f60b327 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.2.tar.xz) = c512c4a497ea6bb88283feae6c31cf5fe347c260cf1670fe65296bf158d3a2aa449ca518a4f2780e814ffbe6970c7856d2ab91e15499638db78bc52d67d794ce +SHA512 (libabigail-2.3.tar.xz) = fdf0df51e2c262c723c11bef58cd0b89b27e67be196edeb33444fc06e7e61d3c2c227f59cb961aea6fc0c9b7f6f04e08b787a1cbbeb3d5507b968b8ae7630527 From 5d939a3d52cf2deabb37cc28fc9f5286dd8a28d2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 7 Jul 2023 14:03:00 -0400 Subject: [PATCH 19/55] Fix build with Python 3.12 Python 3.12 dropped the long-deprecated imp module, and no longer ships pathfix.py. --- ...diff-configure-check-for-Python-3.12.patch | 40 +++++++++++++++++++ libabigail.spec | 6 ++- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch diff --git a/0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch b/0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch new file mode 100644 index 0000000..4c2daa4 --- /dev/null +++ b/0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch @@ -0,0 +1,40 @@ +From 020f008cc58f9cb61baaa175ae1fcb6c4faca55b Mon Sep 17 00:00:00 2001 +From: Yaakov Selkowitz +Date: Fri, 7 Jul 2023 13:57:28 -0400 +Subject: [PATCH] Fix fedabipkgdiff configure check for Python 3.12 + +importlib is the Python 3 replacement to imp, which was deprecated in +Python 3.4 and removed in 3.12. + + * configure.ac (REQUIRED_PYTHON_MODULES_FOR_FEDABIPKGDIFF): + Test for importlib.machinery instead of imp with python3. + +Signed-off-by: Yaakov Selkowitz +--- + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b4e7e38e..b3f97ba2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -739,13 +739,15 @@ if test x$CHECK_DEPS_FOR_FEDABIPKGDIFF = xyes; then + # urllib.parse. Oh well. + if test x$PYTHON = xpython3; then + URLPARSE_MODULE=urllib.parse ++ IMPORT_MODULE=importlib.machinery + else + URLPARSE_MODULE=urlparse ++ IMPORT_MODULE=imp + fi + + REQUIRED_PYTHON_MODULES_FOR_FEDABIPKGDIFF="\ + argparse logging os re subprocess sys $URLPARSE_MODULE \ +- xdg koji mock rpm imp tempfile mimetypes shutil six" ++ xdg koji mock rpm $IMPORT_MODULE tempfile mimetypes shutil six" + + AX_CHECK_PYTHON_MODULES([$REQUIRED_PYTHON_MODULES_FOR_FEDABIPKGDIFF], + [$PYTHON], +-- +2.41.0 + diff --git a/libabigail.spec b/libabigail.spec index db6eb1c..8597570 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -9,6 +9,9 @@ Summary: Set of ABI analysis tools License: ASL 2.0 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 BuildRequires: binutils-devel @@ -92,6 +95,7 @@ them manually. %prep %setup -n %{tarball_name} +%patch -P 0 -p1 %build %configure --enable-ctf --disable-silent-rules --disable-zip-archive --disable-static @@ -115,7 +119,7 @@ make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} %if 0%{?fedora} # Explicitly use Python 3 as the interpreter -pathfix.py -i %{__python3} -pn %{buildroot}%{_bindir}/fedabipkgdiff +%py3_shebang_fix %{buildroot}%{_bindir}/fedabipkgdiff %endif %check From 06ecafff64cdd588c3dfe0eb6001591571a5063a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 10:14:19 +0000 Subject: [PATCH 20/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 8597570..90c913b 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: ASL 2.0 @@ -163,6 +163,9 @@ fi %endif %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Apr 27 2023 Dodji Seketeli - 2.3-1 - Update to upstream 2.3 release - Don't do "dos2unix doc/manuals/html/_static/jquery.js" From d1cbeb3b8e168f3f8990cb1c07732e6f898a5dbe Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 12 Oct 2023 14:04:16 +0200 Subject: [PATCH 21/55] Use SPDX format for license designation Also, fix a compilation warning with (newer) GCC 13.x Signed-off-by: Dodji Seketeli --- .gitignore | 1 + libabigail.spec | 12 +++++++++--- sources | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e54ccfa..31aae84 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /libabigail-2.1.tar.gz /libabigail-2.2.tar.xz /libabigail-2.3.tar.xz +/0001-ir-Remove-redundant-virtual-member-functions.patch diff --git a/libabigail.spec b/libabigail.spec index 90c913b..67ede36 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,16 +3,18 @@ Name: libabigail Version: 2.3 -Release: 2%{?dist} +Release: 3%{?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 # 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: binutils-devel BuildRequires: gcc-c++ @@ -163,6 +165,10 @@ fi %endif %changelog +* Thu Oct 12 2023 Dodji Seketeli - 2.3-3 +- Use the SPDX format to express the license of the package +- Fix a compilation warning + * Thu Jul 20 2023 Fedora Release Engineering - 2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index f60b327..6fa1858 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.3.tar.xz) = fdf0df51e2c262c723c11bef58cd0b89b27e67be196edeb33444fc06e7e61d3c2c227f59cb961aea6fc0c9b7f6f04e08b787a1cbbeb3d5507b968b8ae7630527 +SHA512 (0001-ir-Remove-redundant-virtual-member-functions.patch) = 4c7e4b3a0651ac156922024c2055ce18917dc5b7570e1cbb14f2ba54031dd5c884bbeeaee7f5c829b25e1adfdd3798df17c9b9609dfc4ff3163a770401d9a95c From 1f834ef2a637f46d23228acb44c2373034446467 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 12 Oct 2023 14:42:44 +0200 Subject: [PATCH 22/55] Update sources Signed-off-by: Dodji Seketeli --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 6fa1858..f60b327 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (0001-ir-Remove-redundant-virtual-member-functions.patch) = 4c7e4b3a0651ac156922024c2055ce18917dc5b7570e1cbb14f2ba54031dd5c884bbeeaee7f5c829b25e1adfdd3798df17c9b9609dfc4ff3163a770401d9a95c +SHA512 (libabigail-2.3.tar.xz) = fdf0df51e2c262c723c11bef58cd0b89b27e67be196edeb33444fc06e7e61d3c2c227f59cb961aea6fc0c9b7f6f04e08b787a1cbbeb3d5507b968b8ae7630527 From 40dceba6c440ceb28302e04e3a5a077039196118 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 12 Oct 2023 14:44:57 +0200 Subject: [PATCH 23/55] Update source files Signed-off-by: Dodji Seketeli --- sources | 1 + 1 file changed, 1 insertion(+) diff --git a/sources b/sources index f60b327..c644e6c 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (libabigail-2.3.tar.xz) = fdf0df51e2c262c723c11bef58cd0b89b27e67be196edeb33444fc06e7e61d3c2c227f59cb961aea6fc0c9b7f6f04e08b787a1cbbeb3d5507b968b8ae7630527 +SHA512 (0001-ir-Remove-redundant-virtual-member-functions.patch) = 4c7e4b3a0651ac156922024c2055ce18917dc5b7570e1cbb14f2ba54031dd5c884bbeeaee7f5c829b25e1adfdd3798df17c9b9609dfc4ff3163a770401d9a95c From 5915efec7cdc5c7ce17e772b018d527a89908110 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 20 Oct 2023 22:47:16 +0200 Subject: [PATCH 24/55] 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 --- .gitignore | 1 + libabigail.spec | 27 +++++++++++++++------------ sources | 3 +-- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 31aae84..2eb7d06 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/libabigail.spec b/libabigail.spec index 67ede36..7a20369 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -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 - 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 - 2.3-3 - Use the SPDX format to express the license of the package - Fix a compilation warning diff --git a/sources b/sources index c644e6c..38e35b0 100644 --- a/sources +++ b/sources @@ -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 From 539cc0746a83423baaefa1be4ebf752c503a6e46 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 20 Oct 2023 23:31:31 +0200 Subject: [PATCH 25/55] Remove 0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch Signed-off-by: Dodji Seketeli --- ...diff-configure-check-for-Python-3.12.patch | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch diff --git a/0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch b/0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch deleted file mode 100644 index 4c2daa4..0000000 --- a/0001-Fix-fedabipkgdiff-configure-check-for-Python-3.12.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 020f008cc58f9cb61baaa175ae1fcb6c4faca55b Mon Sep 17 00:00:00 2001 -From: Yaakov Selkowitz -Date: Fri, 7 Jul 2023 13:57:28 -0400 -Subject: [PATCH] Fix fedabipkgdiff configure check for Python 3.12 - -importlib is the Python 3 replacement to imp, which was deprecated in -Python 3.4 and removed in 3.12. - - * configure.ac (REQUIRED_PYTHON_MODULES_FOR_FEDABIPKGDIFF): - Test for importlib.machinery instead of imp with python3. - -Signed-off-by: Yaakov Selkowitz ---- - configure.ac | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index b4e7e38e..b3f97ba2 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -739,13 +739,15 @@ if test x$CHECK_DEPS_FOR_FEDABIPKGDIFF = xyes; then - # urllib.parse. Oh well. - if test x$PYTHON = xpython3; then - URLPARSE_MODULE=urllib.parse -+ IMPORT_MODULE=importlib.machinery - else - URLPARSE_MODULE=urlparse -+ IMPORT_MODULE=imp - fi - - REQUIRED_PYTHON_MODULES_FOR_FEDABIPKGDIFF="\ - argparse logging os re subprocess sys $URLPARSE_MODULE \ -- xdg koji mock rpm imp tempfile mimetypes shutil six" -+ xdg koji mock rpm $IMPORT_MODULE tempfile mimetypes shutil six" - - AX_CHECK_PYTHON_MODULES([$REQUIRED_PYTHON_MODULES_FOR_FEDABIPKGDIFF], - [$PYTHON], --- -2.41.0 - From f4f06b1339354352174e0bf0fa2807b5d31c50c9 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 14 Nov 2023 15:04:03 +0100 Subject: [PATCH 26/55] 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 --- .gitignore | 1 + libabigail.spec | 14 ++++++++++++-- sources | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2eb7d06..f1bb633 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/libabigail.spec b/libabigail.spec index 7a20369..ae10159 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -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 - 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 - 2.4-1 - Update to upstream 2.4 tarball - Drop patches diff --git a/sources b/sources index 38e35b0..159f1dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.4.tar.xz) = f9b51f8710c75b911da10c1e93e0b6b6fa575f99e8f37a5f51e93a8e6b79c9ad1541e531730b410385053d6565f807300f7910dca48cbd3e991d111198781d95 +SHA512 (0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch) = f2145d6f9552dcd818228c08a68b6d54f7d79c53d79c2fff18f2664ac3684d2da09670247e482a18ee8f3b44fafbac425ca8d357ea4c621212b84b8180bd989e From 5a40b7c95575106d7327c6322d7c54c8852cd09a Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 14 Nov 2023 16:04:56 +0100 Subject: [PATCH 27/55] Updated sources Signed-off-by: Dodji Seketeli --- sources | 1 + 1 file changed, 1 insertion(+) diff --git a/sources b/sources index 159f1dd..b1e2d26 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (libabigail-2.4.tar.xz) = f9b51f8710c75b911da10c1e93e0b6b6fa575f99e8f37a5f51e93a8e6b79c9ad1541e531730b410385053d6565f807300f7910dca48cbd3e991d111198781d95 SHA512 (0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch) = f2145d6f9552dcd818228c08a68b6d54f7d79c53d79c2fff18f2664ac3684d2da09670247e482a18ee8f3b44fafbac425ca8d357ea4c621212b84b8180bd989e From 5df78e3df83720895b38fccfcfcec67339c0cfc8 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 14 Nov 2023 16:39:44 +0100 Subject: [PATCH 28/55] Add git as a build requirement Signed-off-by: Dodji Seketeli --- libabigail.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libabigail.spec b/libabigail.spec index ae10159..045a32f 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -11,6 +11,7 @@ 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: git BuildRequires: libbpf-devel BuildRequires: binutils-devel BuildRequires: gcc-c++ @@ -168,6 +169,7 @@ fi 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. +- Add git as a build requirement * Fri Oct 20 2023 Dodji Seketeli - 2.4-1 - Update to upstream 2.4 tarball From 5194b7e153d284cdb587c9824fb7f9f858bb0e01 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 15 Nov 2023 10:34:08 +0100 Subject: [PATCH 29/55] Fix sourceware.org/PR31017 - Fix sourceware.org/PR31017 "Support Flex array conversion suppression" Apply patch 0002-suppression-Add-has_strict_flexible_array_data_membe.patch Signed-off-by: Dodji Seketeli --- .gitignore | 1 + libabigail.spec | 10 ++++++++-- sources | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f1bb633..92f96ae 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ /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 +/0002-suppression-Add-has_strict_flexible_array_data_membe.patch diff --git a/libabigail.spec b/libabigail.spec index 045a32f..5a98a69 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,13 +3,14 @@ Name: libabigail Version: 2.4 -Release: 2%{?dist} +Release: 3%{?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 BuildRequires: git BuildRequires: libbpf-devel @@ -161,6 +162,11 @@ fi %endif %changelog +* Wed Nov 15 2023 Dodji Seketeli - 2.4-3 +- Fix sourceware.org/PR31017 + "Support Flex array conversion suppression" + Apply patch 0002-suppression-Add-has_strict_flexible_array_data_membe.patch + * Tue Nov 14 2023 Dodji Seketeli - 2.4-2 - Fix sourceware.org/PR31045 "Don't try setting translation unit for unique types" @@ -168,7 +174,7 @@ fi 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. +- Use %%autosetup instead of the previous %%setup and %%patch macros. - Add git as a build requirement * Fri Oct 20 2023 Dodji Seketeli - 2.4-1 diff --git a/sources b/sources index b1e2d26..32bfac4 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ 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 From 0e62475e2fe271f3445ce37ea043b1a847661d57 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Mon, 20 Nov 2023 18:52:17 +0100 Subject: [PATCH 30/55] Fix SPDX Licensing string Signed-off-by: Dodji Seketeli --- libabigail.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 5a98a69..6961ef6 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,10 +3,10 @@ Name: libabigail Version: 2.4 -Release: 3%{?dist} +Release: 4%{?dist} 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/ Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.xz Patch1: 0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch @@ -162,6 +162,9 @@ fi %endif %changelog +* Mon Nov 20 2023 Dodji Seketeli - 2.4-4 +- Fix SPDX licensing string + * Wed Nov 15 2023 Dodji Seketeli - 2.4-3 - Fix sourceware.org/PR31017 "Support Flex array conversion suppression" From e261e213616363425409f1d88fcd620c4ab94678 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 03:33:00 +0000 Subject: [PATCH 31/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 6961ef6..be44849 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -162,6 +162,9 @@ fi %endif %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Nov 20 2023 Dodji Seketeli - 2.4-4 - Fix SPDX licensing string From c22cdc0bc36d42e936b3a5abd07642253a7995b5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 01:30:26 +0000 Subject: [PATCH 32/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index be44849..1ba2eeb 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -162,6 +162,9 @@ fi %endif %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 2.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 439184ecb69c7fbf44674bd2b6ad4d6152da567c Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 12 Jan 2024 23:18:30 +0000 Subject: [PATCH 33/55] Remove python3-mock dependency Signed-off-by: Dodji Seketeli --- ...e-deprecated-mock-with-unittest.mock.patch | 26 +++++++++++++++++++ libabigail.spec | 8 ++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 0003-Replace-deprecated-mock-with-unittest.mock.patch diff --git a/0003-Replace-deprecated-mock-with-unittest.mock.patch b/0003-Replace-deprecated-mock-with-unittest.mock.patch new file mode 100644 index 0000000..f5d21d4 --- /dev/null +++ b/0003-Replace-deprecated-mock-with-unittest.mock.patch @@ -0,0 +1,26 @@ +From 8602d3c36dad05ada68feedc80926afadff448a2 Mon Sep 17 00:00:00 2001 +From: Maxwell G +Date: Sat, 13 Jan 2024 05:50:39 +0000 +Subject: [PATCH] Replace deprecated mock with unittest.mock + +Relates: https://fedoraproject.org/wiki/Changes/RemovePythonMockUsage +--- + tests/mockfedabipkgdiff.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/mockfedabipkgdiff.in b/tests/mockfedabipkgdiff.in +index 1e56266..863cf7f 100644 +--- a/tests/mockfedabipkgdiff.in ++++ b/tests/mockfedabipkgdiff.in +@@ -42,7 +42,7 @@ import tempfile + import six + + try: +- from mock import patch ++ from unittest.mock import patch + except ImportError: + import sys + six.print_('mock is required to run tests. Please install before running' +-- +2.43.0 + diff --git a/libabigail.spec b/libabigail.spec index 1ba2eeb..d884749 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -11,6 +11,7 @@ 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 @@ -70,7 +71,6 @@ format. Summary: Utility to compare the ABI of Fedora packages BuildRequires: python3-devel BuildRequires: python3-koji -BuildRequires: python3-mock BuildRequires: python3-rpm BuildRequires: python3-pyxdg #For x-rpm mimetype definition! @@ -162,6 +162,10 @@ fi %endif %changelog +* Fri Jan 26 2024 Maxwell G - 2.4-7 +- Remove python3-mock dependency +- Apply patch 0003-Replace-deprecated-mock-with-unittest.mock.patch + * Thu Jan 25 2024 Fedora Release Engineering - 2.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6ae625870dee0c551a9a86d6efe6ccb1cf9cca16 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Wed, 17 Apr 2024 13:13:22 +0200 Subject: [PATCH 34/55] 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 --- .gitignore | 1 + libabigail.spec | 34 +++++++++++++++++++++------------- sources | 4 +--- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 92f96ae..0935c8c 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ /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 diff --git a/libabigail.spec b/libabigail.spec index d884749..6195c3b 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,16 +2,13 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.4 -Release: 7%{?dist} +Version: 2.5 +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 @@ -23,6 +20,8 @@ BuildRequires: libxml2-devel BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo +BuildRequires: python3-GitPython +BuildRequires: python3-libarchive-c %if 0%{?fedora} BuildRequires: dpkg BuildRequires: koji @@ -97,7 +96,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 @@ -122,11 +121,8 @@ make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} %endif %check -time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log && exit 2) - -if test $? -ne 0; then - cat tests/tests-suite.log -fi +time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2) +time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/test-suite.log && exit 2) %ldconfig_scriptlets @@ -137,8 +133,9 @@ fi %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff -%{_libdir}/libabigail.so.3 -%{_libdir}/libabigail.so.3.0.0 +%{_bindir}/abidb +%{_libdir}/libabigail.so.4 +%{_libdir}/libabigail.so.4.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -162,6 +159,17 @@ fi %endif %changelog +* Thu Apr 18 2024 Dodji Seketeli - 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 - 2.4-7 - Remove python3-mock dependency - Apply patch 0003-Replace-deprecated-mock-with-unittest.mock.patch diff --git a/sources b/sources index 32bfac4..d84e053 100644 --- a/sources +++ b/sources @@ -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.5.tar.xz) = 4084ebdd723a8ce1632f70943e29d71328bb695b1b0012ebd3d6ec7edccde872b54e76dfb1bc1c261805919c5e636198cd5bf23baf113474a082db21f2cfdd0d From c97a4d952bead2d3e41a495bcdc9c5fe5f9a8d2b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 14 May 2024 08:59:35 -0700 Subject: [PATCH 35/55] 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 --- plans/ci.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 1ad2c12..85710d6 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -3,4 +3,4 @@ discover: how: fmf directory: tests execute: - how: beakerlib + how: tmt From fcd2996f3ead54cf562ee84b14ecfa3d3fa796d6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 May 2024 07:55:57 -0700 Subject: [PATCH 36/55] 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 --- tests/libabigail-testsuite/runtest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/libabigail-testsuite/runtest.sh b/tests/libabigail-testsuite/runtest.sh index 4b69b8b..f387b16 100755 --- a/tests/libabigail-testsuite/runtest.sh +++ b/tests/libabigail-testsuite/runtest.sh @@ -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 From 5ae6e24aba03419e154ca5960f2bf5327c31620e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 May 2024 10:47:50 -0700 Subject: [PATCH 37/55] 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 --- plans/ci.fmf | 1 - 1 file changed, 1 deletion(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index 85710d6..3fd3ab7 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,6 +1,5 @@ summary: CI Gating Plan discover: how: fmf - directory: tests execute: how: tmt From c15cece97ef718984d8b50836ce4a409a086d65c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 May 2024 10:50:02 -0700 Subject: [PATCH 38/55] Rebuild with the updated CI metadata It seems we need to do this - re-running the tests on the 2.5-1 update doesn't use the fixed metadata. --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 6195c3b..eac51b4 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -159,6 +159,9 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Thu May 16 2024 Adam Williamson - 2.5-2 +- Rebuild with fixed CI metadata + * Thu Apr 18 2024 Dodji Seketeli - 2.5-1 - Update to upstream 2.5 tarball - Drop patches From ad139c75a2bcef797758042c82106cd26d837572 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 13:17:38 +0000 Subject: [PATCH 39/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index eac51b4..5d060bc 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -3,7 +3,7 @@ Name: libabigail Version: 2.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -159,6 +159,9 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu May 16 2024 Adam Williamson - 2.5-2 - Rebuild with fixed CI metadata From cdfcab16b2937c383dde54a7fcc949df90a7e388 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 26 Jul 2024 00:45:42 -0400 Subject: [PATCH 40/55] Add runtime dependencies of abidb Also, disable abidb on RHEL, as the dependencies are not available. --- libabigail.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 5d060bc..3876088 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -1,9 +1,12 @@ +# dependencies are not available in RHEL +%bcond abidb %{undefined rhel} + %global tarball_revision 1 %global tarball_name %{name}-%{version} Name: libabigail Version: 2.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -20,8 +23,12 @@ BuildRequires: libxml2-devel BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo +%if %{with abidb} BuildRequires: python3-GitPython BuildRequires: python3-libarchive-c +Requires: python3-GitPython +Requires: python3-libarchive-c +%endif %if 0%{?fedora} BuildRequires: dpkg BuildRequires: koji @@ -96,7 +103,7 @@ them manually. %autosetup -v -S git %build -%configure --enable-abidb --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static +%configure %{?with_abidb:--enable-abidb} --enable-ctf --enable-btf --disable-silent-rules --disable-zip-archive --disable-static make %{?_smp_mflags} pushd doc make html-doc @@ -133,7 +140,9 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff +%if %{with abidb} %{_bindir}/abidb +%endif %{_libdir}/libabigail.so.4 %{_libdir}/libabigail.so.4.0.0 %{_libdir}/libabigail/default.abignore @@ -159,6 +168,10 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Fri Jul 26 2024 Yaakov Selkowitz - 2.5-4 +- Add runtime dependencies of abidb +- Disable abidb on RHEL + * Thu Jul 18 2024 Fedora Release Engineering - 2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 2ff19e237fbfe21bd6e95db7c3f76012d7d0e543 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 1 Nov 2024 18:36:15 +0100 Subject: [PATCH 41/55] Update to upstream 2.6 tarball - Update to upstream 2.6 tarball - Add xxhash-devel as BuildRequires Signed-off-by: Dodji Seketeli --- libabigail.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 3876088..3265fa1 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -5,8 +5,8 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.5 -Release: 4%{?dist} +Version: 2.6 +Release: 1%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -20,6 +20,7 @@ BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: elfutils-devel BuildRequires: libxml2-devel +BuildRequires: xxhash-devel BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo @@ -168,6 +169,10 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Fri Nov 1 2024 Dodji Seketeli - 2.6-1 +- Update to upstream 2.6 tarball +- Add xxhash-devel as BuildRequires + * Fri Jul 26 2024 Yaakov Selkowitz - 2.5-4 - Add runtime dependencies of abidb - Disable abidb on RHEL From 26dab8819933a96d677401d132aa04da13b4f3b6 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 1 Nov 2024 18:54:04 +0100 Subject: [PATCH 42/55] Upload upstream 2.6 tarball. Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0935c8c..f4adf89 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ /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 diff --git a/sources b/sources index d84e053..3146d43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.5.tar.xz) = 4084ebdd723a8ce1632f70943e29d71328bb695b1b0012ebd3d6ec7edccde872b54e76dfb1bc1c261805919c5e636198cd5bf23baf113474a082db21f2cfdd0d +SHA512 (libabigail-2.6.tar.xz) = 77983586c9fa99ab5593e41e33ddfc175aef7a2ddfabb7eac79a9adfd776e7dbbb317f6d4c26044c420f2eac1f9d25e0c04887a54bb3136cc91e61219a1343e4 From 31251625838e3875fe97ab614bb2746d6a090a05 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 1 Nov 2024 19:31:17 +0100 Subject: [PATCH 43/55] Update for libabigail SONAME bump to 5. Signed-off-by: Dodji Seketeli --- libabigail.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index 3265fa1..e72b887 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -144,8 +144,8 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %if %{with abidb} %{_bindir}/abidb %endif -%{_libdir}/libabigail.so.4 -%{_libdir}/libabigail.so.4.0.0 +%{_libdir}/libabigail.so.5 +%{_libdir}/libabigail.so.5.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -172,6 +172,7 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ * Fri Nov 1 2024 Dodji Seketeli - 2.6-1 - Update to upstream 2.6 tarball - Add xxhash-devel as BuildRequires +- Update library to libabigail.so.5.0.0 * Fri Jul 26 2024 Yaakov Selkowitz - 2.5-4 - Add runtime dependencies of abidb From a83268b450353b39e97446d766779b3826be017c Mon Sep 17 00:00:00 2001 From: Michal Kolar Date: Fri, 8 Nov 2024 14:42:40 +0000 Subject: [PATCH 44/55] tests/libabigail-testsuite: adapt to new build behavior --- tests/libabigail-testsuite/runtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libabigail-testsuite/runtest.sh b/tests/libabigail-testsuite/runtest.sh index f387b16..5b3a488 100755 --- a/tests/libabigail-testsuite/runtest.sh +++ b/tests/libabigail-testsuite/runtest.sh @@ -55,8 +55,8 @@ 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-*" + rlRun "build_dir=`find $TmpDir -type f -name README | awk '{ print length, \$0 }' | sort -n -s | head -n 1 | cut -d ' ' -f 2- | sed 's|/README||'`" + rlRun "cd $build_dir" rlPhaseEnd rlPhaseStartTest "run testsuite" From 2872de25f324a2e854e9fb63b7811f2f43349e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Fri, 10 Jul 2020 15:58:07 +0000 Subject: [PATCH 45/55] Add /usr/bin/fedabipkgdiff to EPEL 8 fedpkg also can be used in RHEL to work on EPEL packages We can remove conditional of fedora or add `|| 0%{?rhel} > 7`, I opted for the first option --- libabigail.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index e72b887..d11e29b 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -73,7 +73,6 @@ This package contains documentation for the libabigail tools in the form of man pages, texinfo documentation and API documentation in html format. -%if 0%{?fedora} %package fedora Summary: Utility to compare the ABI of Fedora packages BuildRequires: python3-devel @@ -98,7 +97,6 @@ This package contains the fedabipkgdiff command line utility, which interacts with the Fedora Build System over the internet to let the user compare the ABI of Fedora packages without having to download them manually. -%endif %prep %autosetup -v -S git @@ -123,10 +121,8 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' # default 'install' target of the makefile. make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} -%if 0%{?fedora} # Explicitly use Python 3 as the interpreter %py3_shebang_fix %{buildroot}%{_bindir}/fedabipkgdiff -%endif %check time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2) @@ -163,10 +159,8 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %license LICENSE.txt license-change-2020.txt %doc doc/manuals/html/* -%if 0%{?fedora} %files fedora %{_bindir}/fedabipkgdiff -%endif %changelog * Fri Nov 1 2024 Dodji Seketeli - 2.6-1 From bcf7cdfd9f8d16177d2ca99b222a075b15230616 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 9 Jan 2025 18:53:11 +0100 Subject: [PATCH 46/55] BuildRequires xxhash-static libabigail builds with XXH_INLINE_ALL, so depend on (virtual) package xxhash-static This makes it easier to find all packages that depend on xxhash when they might need to be rebuild because of an xxhash upgrade. --- libabigail.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libabigail.spec b/libabigail.spec index d11e29b..5252b52 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -21,6 +21,8 @@ BuildRequires: libtool BuildRequires: elfutils-devel BuildRequires: libxml2-devel BuildRequires: xxhash-devel +# libabigail builds with XXH_INLINE_ALL, so depend on (virtual) xxhash-static +BuildRequires: xxhash-static BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo From 37aac684f40c369a06dd27f8d33e5d8284c69897 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 10:33:27 +0000 Subject: [PATCH 47/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 5252b52..ed3dfbd 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -6,7 +6,7 @@ Name: libabigail Version: 2.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -165,6 +165,9 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %{_bindir}/fedabipkgdiff %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Nov 1 2024 Dodji Seketeli - 2.6-1 - Update to upstream 2.6 tarball - Add xxhash-devel as BuildRequires From 62b6c5e9f144b846fa42efcc5af14bc6f3b1acb7 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 4 Feb 2025 15:45:51 -0500 Subject: [PATCH 48/55] Limit fedabipkgdiff to Fedora and EPEL libabigail is shipped in RHEL 9+ CRB, in which koji is not included. The enablement of fedabipkgdiff for EPEL 8 must therefore be limited to Fedora and EPEL builds, not RHEL. This reverts commit 2872de25f324a2e854e9fb63b7811f2f43349e90 ("Add /usr/bin/fedabipkgdiff to EPEL 8"). --- libabigail.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index ed3dfbd..3c03c6e 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -6,7 +6,7 @@ Name: libabigail Version: 2.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -32,7 +32,7 @@ BuildRequires: python3-libarchive-c Requires: python3-GitPython Requires: python3-libarchive-c %endif -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?epel} BuildRequires: dpkg BuildRequires: koji BuildRequires: python3-koji @@ -75,6 +75,7 @@ This package contains documentation for the libabigail tools in the form of man pages, texinfo documentation and API documentation in html format. +%if 0%{?fedora} || 0%{?epel} %package fedora Summary: Utility to compare the ABI of Fedora packages BuildRequires: python3-devel @@ -99,6 +100,7 @@ This package contains the fedabipkgdiff command line utility, which interacts with the Fedora Build System over the internet to let the user compare the ABI of Fedora packages without having to download them manually. +%endif %prep %autosetup -v -S git @@ -123,8 +125,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' # default 'install' target of the makefile. make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} +%if 0%{?fedora} || 0%{?epel} # Explicitly use Python 3 as the interpreter %py3_shebang_fix %{buildroot}%{_bindir}/fedabipkgdiff +%endif %check time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2) @@ -161,10 +165,15 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %license LICENSE.txt license-change-2020.txt %doc doc/manuals/html/* +%if 0%{?fedora} || 0%{?epel} %files fedora %{_bindir}/fedabipkgdiff +%endif %changelog +* Tue Feb 04 2025 Yaakov Selkowitz - 2.6-3 +- Limit fedabipkgdiff to Fedora and EPEL + * Fri Jan 17 2025 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 0bc8b64b63b4dfe565480c985852f835f4277cb3 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 11 Apr 2025 16:44:12 +0200 Subject: [PATCH 49/55] 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 --- .gitignore | 1 + libabigail.spec | 18 ++++++++++++------ sources | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f4adf89..9a443fc 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ /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 diff --git a/libabigail.spec b/libabigail.spec index 3c03c6e..d3d7519 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -5,8 +5,8 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.6 -Release: 3%{?dist} +Version: 2.7 +Release: 1%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -21,8 +21,7 @@ BuildRequires: libtool BuildRequires: elfutils-devel BuildRequires: libxml2-devel BuildRequires: xxhash-devel -# libabigail builds with XXH_INLINE_ALL, so depend on (virtual) xxhash-static -BuildRequires: xxhash-static +BuildRequires: xz-devel >= 5.2.0 BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo @@ -146,8 +145,8 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %if %{with abidb} %{_bindir}/abidb %endif -%{_libdir}/libabigail.so.5 -%{_libdir}/libabigail.so.5.0.0 +%{_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 @@ -171,6 +170,13 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Fri Apr 11 2025 Dodji Seketeli - 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 + * Tue Feb 04 2025 Yaakov Selkowitz - 2.6-3 - Limit fedabipkgdiff to Fedora and EPEL diff --git a/sources b/sources index 3146d43..67f786a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.6.tar.xz) = 77983586c9fa99ab5593e41e33ddfc175aef7a2ddfabb7eac79a9adfd776e7dbbb317f6d4c26044c420f2eac1f9d25e0c04887a54bb3136cc91e61219a1343e4 +SHA512 (libabigail-2.7.tar.xz) = 6c31df739b94b83a5bac4b560eb1c16919495280ed3f5a37a84144e18a2362038337d3843948e3022b97ba73f7a41b32b33ca5f8b86a51ea57574dc3de98b9d5 From 8a77f087752c6b3b7a71ab9978c68d7b15ee3487 Mon Sep 17 00:00:00 2001 From: Michal Kolar Date: Sat, 26 Apr 2025 16:30:55 +0000 Subject: [PATCH 50/55] update tests/libabigail-testsuite testcase --- tests/libabigail-testsuite/Makefile | 63 -------------------- tests/libabigail-testsuite/PURPOSE | 3 - tests/libabigail-testsuite/main.fmf | 10 ++-- tests/libabigail-testsuite/runtest.sh | 84 --------------------------- tests/libabigail-testsuite/test.sh | 59 +++++++++++++++++++ 5 files changed, 63 insertions(+), 156 deletions(-) delete mode 100644 tests/libabigail-testsuite/Makefile delete mode 100644 tests/libabigail-testsuite/PURPOSE delete mode 100755 tests/libabigail-testsuite/runtest.sh create mode 100755 tests/libabigail-testsuite/test.sh diff --git a/tests/libabigail-testsuite/Makefile b/tests/libabigail-testsuite/Makefile deleted file mode 100644 index 4d741d5..0000000 --- a/tests/libabigail-testsuite/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /tools/libabigail/Sanity/libabigail-testsuite -# Description: libabigail testing by upstream testsuite -# Author: Michal Kolar -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/tools/libabigail/Sanity/libabigail-testsuite -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - test -x runtest.sh || chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include /usr/share/rhts/lib/rhts-make.include - -$(METADATA): Makefile - @echo "Owner: Michal Kolar " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: libabigail testing by upstream testsuite" >> $(METADATA) - @echo "Type: Sanity" >> $(METADATA) - @echo "TestTime: 1h" >> $(METADATA) - @echo "RunFor: libabigail" >> $(METADATA) - @echo "Requires: libabigail rpm-build yum-utils gcc-c++" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2+" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6 -RHEL7" >> $(METADATA) - - rhts-lint $(METADATA) diff --git a/tests/libabigail-testsuite/PURPOSE b/tests/libabigail-testsuite/PURPOSE deleted file mode 100644 index 52e213c..0000000 --- a/tests/libabigail-testsuite/PURPOSE +++ /dev/null @@ -1,3 +0,0 @@ -PURPOSE of /tools/libabigail/Sanity/libabigail-testsuite -Description: libabigail testing by upstream testsuite -Author: Michal Kolar diff --git a/tests/libabigail-testsuite/main.fmf b/tests/libabigail-testsuite/main.fmf index 23d68bb..a21b94e 100644 --- a/tests/libabigail-testsuite/main.fmf +++ b/tests/libabigail-testsuite/main.fmf @@ -1,15 +1,13 @@ summary: libabigail testing by upstream testsuite -description: '' -contact: Michal Kolar component: - libabigail -test: ./runtest.sh +test: ./test.sh +tier: 1 framework: beakerlib -recommend: +require+: - libabigail - rpm-build - yum-utils - gcc-c++ +- coreutils duration: 1h -extra-summary: /tools/libabigail/Sanity/libabigail-testsuite -extra-task: /tools/libabigail/Sanity/libabigail-testsuite diff --git a/tests/libabigail-testsuite/runtest.sh b/tests/libabigail-testsuite/runtest.sh deleted file mode 100755 index 5b3a488..0000000 --- a/tests/libabigail-testsuite/runtest.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/libabigail/Sanity/libabigail-testsuite -# Description: libabigail testing by upstream testsuite -# Author: Michal Kolar -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -BUILD_USER=${BUILD_USER:-lbbglbld} -TESTS_COUNT_MIN=${TESTS_COUNT_MIN:-10} -PACKAGE="libabigail" -REQUIRES="$PACKAGE rpm-build gcc-c++" -if rlIsFedora; then - REQUIRES="$REQUIRES dnf-utils" -else - REQUIRES="$REQUIRES yum-utils" -fi - -rlJournalStart - rlPhaseStartSetup - rlShowRunningKernel - rlAssertRpm --all - rlRun "TmpDir=`mktemp -d /home/libabigail.XXXXXXXXXX`" # work in /home due to high demands on disk space - rlRun "pushd $TmpDir" - rlFetchSrcForInstalled $PACKAGE - rlRun "useradd -m -N $BUILD_USER" 0,9 - [ "$?" == "0" ] && rlRun "del=yes" - rlRun "chown -R $BUILD_USER:users $TmpDir" - rlPhaseEnd - - rlPhaseStartSetup "build libabigail" - rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm" - 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 "build_dir=`find $TmpDir -type f -name README | awk '{ print length, \$0 }' | sort -n -s | head -n 1 | cut -d ' ' -f 2- | sed 's|/README||'`" - rlRun "cd $build_dir" - rlPhaseEnd - - rlPhaseStartTest "run testsuite" - rlRun "su -c 'make -k check |& tee -a $TmpDir/testsuite.log' $BUILD_USER" - rlRun "cp tests/test-suite.log $TmpDir/make-check.log" - rlRun "rlFileSubmit $TmpDir/make-check.log" - rlRun "su -c 'make -k check-self-compare |& tee -a $TmpDir/testsuite.log' $BUILD_USER" - rlRun "cp tests/test-suite.log $TmpDir/make-check-self-compare.log" - rlRun "rlFileSubmit $TmpDir/make-check-self-compare.log" - rlPhaseEnd - - rlPhaseStartTest "evaluate results" - rlRun "cd $TmpDir" - rlRun "cat make-*.log | grep -E '^# FAIL:|^# XPASS:|^# ERROR:' | grep -vqE ':\s*0$'" 1 - rlRun "tests_count=\$(grep -E '^PASS:' $TmpDir/testsuite.log | wc -l)" - [ "$tests_count" -ge "$TESTS_COUNT_MIN" ] && rlLogInfo "Test counter: $tests_count" || rlFail "Test counter $tests_count should be greater than or equal to $TESTS_COUNT_MIN" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" - [ "$del" == "yes" ] && rlRun "userdel -f -r $BUILD_USER" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/libabigail-testsuite/test.sh b/tests/libabigail-testsuite/test.sh new file mode 100755 index 0000000..c29f398 --- /dev/null +++ b/tests/libabigail-testsuite/test.sh @@ -0,0 +1,59 @@ +#!/bin/bash +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +BUILD_USER=${BUILD_USER:-lbbglbld} +TESTS_COUNT_MIN=${TESTS_COUNT_MIN:-10} +PACKAGE="libabigail" +REQUIRES="$PACKAGE rpm-build gcc-c++" +if rlIsFedora; then + REQUIRES="$REQUIRES dnf-utils" +else + REQUIRES="$REQUIRES yum-utils" +fi + +# variables needed for 'make check' +export RPM_PACKAGE_NAME=$(rpm -q --qf='%{NAME}\n' $PACKAGE) +export RPM_PACKAGE_VERSION=$(rpm -q --qf='%{VERSION}\n' $PACKAGE) +export RPM_PACKAGE_RELEASE=$(rpm -q --qf='%{RELEASE}\n' $PACKAGE) +export RPM_ARCH=$(rpm -q --qf='%{ARCH}\n' $PACKAGE) + +rlJournalStart + rlPhaseStartSetup + rlShowRunningKernel + rlAssertRpm --all + rlRun "TmpDir=\$(mktemp -d /home/libabigail.XXXXXXXXXX)" # work in /home due to high demands on disk space + rlRun "pushd $TmpDir" + rlFetchSrcForInstalled $PACKAGE + rlRun "useradd -N $BUILD_USER" 0,9 + [ "$?" == "0" ] && rlRun "del=yes" + rlRun "chown -R $BUILD_USER:users $TmpDir" + rlPhaseEnd + + rlPhaseStartSetup "build libabigail" + rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm" + rlRun "yum-builddep -y $TmpDir/SPECS/*.spec &>$TmpDir/yum-builddep.log" + rlRun "rlFileSubmit $TmpDir/yum-builddep.log yum-builddep.log" + rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bc $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER" + rlRun "rlFileSubmit $TmpDir/rpmbuild.log rpmbuild.log" + rlRun "cd $(dirname `find $TmpDir -name configure -type f`)" + rlPhaseEnd + + rlPhaseStartTest "run testsuite" + rlRun "su -c 'make check |& tee $TmpDir/testsuite.log' $BUILD_USER" + rlRun "rlFileSubmit tests/test-suite.log test-suite.log" + rlRun "rlFileSubmit $TmpDir/testsuite.log testsuite.log" + rlPhaseEnd + + rlPhaseStartTest "evaluate results" + rlRun "grep -E '^# FAIL:|^# XPASS:|^# ERROR:' $TmpDir/testsuite.log | grep -vqE ':\s*0$'" 1 + rlRun "tests_count=\$(grep -E '^PASS:' $TmpDir/testsuite.log | wc -l)" + [ "$tests_count" -ge "$TESTS_COUNT_MIN" ] && rlLogInfo "Test counter: $tests_count" || rlFail "Test counter $tests_count should be greater than or equal to $TESTS_COUNT_MIN" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $TmpDir" + [ "$del" == "yes" ] && rlRun "userdel -f -r $BUILD_USER" + rlPhaseEnd +rlJournalPrintText +rlJournalEnd From 488f7b6cd3974a6298e915196392cb5b0a00e604 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 4 Jul 2025 12:48:28 +0200 Subject: [PATCH 51/55] Update to usptream 2.8 tarball - Update to usptream 2.8 tarball - Support new libabigail.so.7.0.0 SONAME Signed-off-by: Dodji Seketeli --- libabigail.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index d3d7519..887f3f0 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -5,7 +5,7 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.7 +Version: 2.8 Release: 1%{?dist} Summary: Set of ABI analysis tools @@ -145,8 +145,8 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %if %{with abidb} %{_bindir}/abidb %endif -%{_libdir}/libabigail.so.6 -%{_libdir}/libabigail.so.6.0.0 +%{_libdir}/libabigail.so.7 +%{_libdir}/libabigail.so.7.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -170,6 +170,10 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Fri Jul 04 2025 Dodji Seketeli - 2.8-1 +- Update to usptream 2.8 tarball +- Support new libabigail.so.7.0.0 SONAME + * Fri Apr 11 2025 Dodji Seketeli - 2.7-1 - Update to upstream 2.7 tarball - Do not build with by default XXH_INLINE_ALL anymore From 8fd7f028b60dcc84f126863a6183c3c367ec1ab7 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 4 Jul 2025 14:33:18 +0200 Subject: [PATCH 52/55] Upload libabigail 2.8 tarballs * .gitignore: Update: * sources: Likewise. Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9a443fc..8449ad5 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ /libabigail-2.5.tar.xz /libabigail-2.6.tar.xz /libabigail-2.7.tar.xz +/libabigail-2.8.tar.xz diff --git a/sources b/sources index 67f786a..88d59ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.7.tar.xz) = 6c31df739b94b83a5bac4b560eb1c16919495280ed3f5a37a84144e18a2362038337d3843948e3022b97ba73f7a41b32b33ca5f8b86a51ea57574dc3de98b9d5 +SHA512 (libabigail-2.8.tar.xz) = e919f12c914addb9c64d15d40c50e50ce1b08ac8f64f11adb9274cbdfc568b7e2eb99f669866b413a3e6c6246611b529be1f8d226cf58f7a5c6e2a7061d88e8c From c0702778ab16f039f17bc588f95cfe5acce8e2f9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 19:19:55 +0000 Subject: [PATCH 53/55] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- libabigail.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libabigail.spec b/libabigail.spec index 887f3f0..dee83f9 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -6,7 +6,7 @@ Name: libabigail Version: 2.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -170,6 +170,9 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jul 04 2025 Dodji Seketeli - 2.8-1 - Update to usptream 2.8 tarball - Support new libabigail.so.7.0.0 SONAME From 7be38de24735b506af71b4ef4ef7023e963b8e4e Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 6 Nov 2025 12:29:26 +0100 Subject: [PATCH 54/55] Update to 2.9 tarball Signed-off-by: Dodji Seketeli --- libabigail.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index dee83f9..19dded8 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -5,8 +5,8 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 2.8 -Release: 2%{?dist} +Version: 2.9 +Release: 1%{?dist} Summary: Set of ABI analysis tools License: Apache-2.0 WITH LLVM-exception @@ -130,8 +130,7 @@ make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot} %endif %check -time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2) -time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/test-suite.log && exit 2) +time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log && exit 2) %ldconfig_scriptlets @@ -145,8 +144,8 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %if %{with abidb} %{_bindir}/abidb %endif -%{_libdir}/libabigail.so.7 -%{_libdir}/libabigail.so.7.0.0 +%{_libdir}/libabigail.so.8 +%{_libdir}/libabigail.so.8.0.0 %{_libdir}/libabigail/default.abignore %doc README AUTHORS ChangeLog %license LICENSE.txt license-change-2020.txt @@ -170,6 +169,11 @@ time make %{?_smp_mflags} check-self-compare ENABLE_SLOW_TEST=yes || (cat tests/ %endif %changelog +* Thu Nov 06 2025 Dodji Seketeli - 2.9-1 +- Update to upstream 2.9 tarball +- Support new libabigail.so.8.0.0 SONAME +- Run 'make check check-self-compare' instead of two separate make invocations. + * Thu Jul 24 2025 Fedora Release Engineering - 2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From efd849c3ec1157ab6ee60d2af6958ebfda09a4e4 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 11 Nov 2025 17:47:53 +0100 Subject: [PATCH 55/55] Upload the libabigail 2.9 upstream tarball Signed-off-by: Dodji Seketeli --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8449ad5..bfec4c1 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ /libabigail-2.6.tar.xz /libabigail-2.7.tar.xz /libabigail-2.8.tar.xz +/libabigail-2.9.tar.xz diff --git a/sources b/sources index 88d59ac..ee4135f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-2.8.tar.xz) = e919f12c914addb9c64d15d40c50e50ce1b08ac8f64f11adb9274cbdfc568b7e2eb99f669866b413a3e6c6246611b529be1f8d226cf58f7a5c6e2a7061d88e8c +SHA512 (libabigail-2.9.tar.xz) = 5bdf5ec49a5931a61bf28317b41eee583d6277d00ac621b2d2a97bbc0d816c3662bcfe13a5ac7aeee11c947afb69a5a0a9a8015fcebad09965b45af9b1e23606