diff --git a/.gitignore b/.gitignore index 42e0e1f..013b34f 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,18 @@ /Support-having-several-debuginfo-search-dirs-for-a-b.patch /Add-a-fail-no-debug-info-to-abidiff.patch /libabigail-1.6.tar.gz +/libabigail-1.7.tar.gz +/libabigail-1.8.tar.gz +/libabigail-1.8.1.tar.gz +/libabigail-1.8.2.tar.gz +/libabigail-2.0.tar.gz +/libabigail-2.1.tar.gz +/libabigail-2.2.tar.xz +/libabigail-2.3.tar.xz +/libabigail-2.4.tar.xz +/0001-Bug-31045-Don-t-try-setting-translation-unit-for-uni.patch +/0002-suppression-Add-has_strict_flexible_array_data_membe.patch +/libabigail-2.5.tar.xz +/libabigail-2.6.tar.xz +/libabigail-2.7.tar.xz +/libabigail-2.8.tar.xz diff --git a/libabigail.spec b/libabigail.spec index 87b6814..1e35355 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -2,24 +2,31 @@ %global tarball_name %{name}-%{version} Name: libabigail -Version: 1.6 -Release: 2%{?dist} +Version: 2.8 +Release: 1%{?dist} Summary: Set of ABI analysis tools -License: LGPLv3+ +License: Apache-2.0 WITH LLVM-exception 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: git +BuildRequires: binutils-devel BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: elfutils-devel BuildRequires: libxml2-devel +BuildRequires: xxhash-devel +BuildRequires: xz-devel >= 5.2.0 BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo -BuildRequires: dos2unix BuildRequires: dpkg BuildRequires: wget +BuildRequires: koji +BuildRequires: python3-koji +BuildRequires: python3-GitPython +BuildRequires: python3-libarchive-c %description The libabigail package comprises seven command line utilities: @@ -63,8 +70,6 @@ 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! BuildRequires: mailcap Requires: %{name}%{?_isa} = %{version}-%{release} @@ -88,7 +93,7 @@ them manually. %setup -n %{tarball_name} %build -%configure --disable-silent-rules --disable-zip-archive --disable-static +%configure --disable-abidb --enable-ctf --disable-silent-rules --disable-zip-archive --disable-static make %{?_smp_mflags} pushd doc make html-doc @@ -106,7 +111,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 @@ -115,6 +119,7 @@ pathfix.py -i %{__python3} -pn %{buildroot}%{_bindir}/fedabipkgdiff %check time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2) +time make %{?_smp_mflags} check-self-compare || (cat tests/test-suite.log && exit 2) if test $? -ne 0; then cat tests/tests-suite.log @@ -129,11 +134,11 @@ fi %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff -%{_libdir}/libabigail.so.0 -%{_libdir}/libabigail.so.0.0.0 +%{_libdir}/libabigail.so.7 +%{_libdir}/libabigail.so.7.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* @@ -145,7 +150,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} @@ -154,6 +159,108 @@ fi %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 +- Drop xxhash-static dependency +- Add xz-devel >= 5.2.0 dependency to support reading xz-compressed binaries +- Support new libabigail.so.6.0.0 SONAME + +* Fri Nov 1 2024 Dodji Seketeli - 2.6-1 +- Update to upstream 2.6 tarball +- Add xxhash-devel as BuildRequires +- Update library to libabigail.so.5.0.0 + +* Wed Apr 17 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. +- Disable abidb as it requires python 3.9 +- Better handle error handling when tests fails. + +* Mon Nov 20 2023 Dodji Seketeli - 2.4-3 +- Fix SPDX licensing string + +* Wed Nov 15 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. +- Fix sourceware.org/PR31017 + "Support Flex array conversion suppression" + Apply patch 0002-suppression-Add-has_strict_flexible_array_data_membe.patch +- Use SPDX license description +- Add git as build requirement +- Use git to apply the patches as they apply binary changes and patch + doesn't know how to handle these. +- As the paches touch Makefile.am files, run autoreconf after + applying the patches. + +* Fri Oct 20 2023 Dodji Seketeli - 2.4-1 +- Update to upstream 2.4 tarball +- Support soname bumped to libabigail.so.3.0.0 + +* 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. + +* 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. +- Enable CTF support when running the tests. +- Add binutils-devel as BuildRequires, for CTF. + +* 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 Feb 25 2021 Dodji Seketeli - 1.8.2-1 +- Update to upstream 1.8.2 point release + +* Wed Jan 27 2021 Dodji Seketeli - 1.8.1-1 +- Update to upstream fixes up to libabigail-1.8.1 + This encompasses this fixes, compared to the last 1.8 release: + ir: Add better comments to types_have_similar_structure + mainpage: Update web page for 1.8 release + Bug 26992 - Try harder to resolve declaration-only classes + Bug 27204 - potential loss of some aliased ELF function symbols + Ignore duplicated functions and those not associated with ELF symbols + Bug 27236 - Pointer comparison wrongly fails because of typedef change + Bug 27233 - fedabipkgdiff fails on package gnupg2 from Fedora 33 + Bug 27232 - fedabipkgdiff fails on gawk from Fedora 33 + dwarf-reader: Support fast DW_FORM_line_strp string comparison + gen-changelog.py: Update call to subprocess.Popen & cleanup + Bug 27255 - fedabipkgdiff fails on nfs-utils on Fedora 33 + abidiff: support --dump-diff-tree with --leaf-changes-only + ir: Arrays are indirect types for type structure similarity purposes + Add qualifier / typedef / array / pointer test + abg-ir: Optimize calls to std::string::find() for a single char. + abipkgdiff: Address operator precedence warning + +* Tue Dec 1 2020 Dodji Seketeli - 1.8-1 +- Update to upstream 1.8 +- Add "make check-self-compare" to the regression tests +- Add BuildRequires python3-koji + +* Mon Mar 2 2020 Dodji Seketeli - 1.7-1 +- Update to upstream 1.7 + - Add Koji as BuildRequires + Fixes: RHBZ#1799575 + * Thu Jul 25 2019 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 7c255d6..88d59ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libabigail-1.6.tar.gz) = 2ba775bd836b53265dae60e66065fc2106e7f633e890cc70b6abacb8426e04ec0b7b38593c21336f5785cf5e4eb8d110fb15ce63124cddc59f660f31c7b25b3c +SHA512 (libabigail-2.8.tar.xz) = e919f12c914addb9c64d15d40c50e50ce1b08ac8f64f11adb9274cbdfc568b7e2eb99f669866b413a3e6c6246611b529be1f8d226cf58f7a5c6e2a7061d88e8c