diff --git a/libabigail.spec b/libabigail.spec index 5e72045..19dded8 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -1,3 +1,6 @@ +# dependencies are not available in RHEL +%bcond abidb %{undefined rhel} + %global tarball_revision 1 %global tarball_name %{name}-%{version} @@ -22,9 +25,13 @@ BuildRequires: xz-devel >= 5.2.0 BuildRequires: doxygen BuildRequires: python3-sphinx BuildRequires: texinfo +%if %{with abidb} BuildRequires: python3-GitPython BuildRequires: python3-libarchive-c -%if 0%{?fedora} +Requires: python3-GitPython +Requires: python3-libarchive-c +%endif +%if 0%{?fedora} || 0%{?epel} BuildRequires: dpkg BuildRequires: koji BuildRequires: python3-koji @@ -67,7 +74,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} +%if 0%{?fedora} || 0%{?epel} %package fedora Summary: Utility to compare the ABI of Fedora packages BuildRequires: python3-devel @@ -98,7 +105,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 @@ -117,7 +124,7 @@ 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} +%if 0%{?fedora} || 0%{?epel} # Explicitly use Python 3 as the interpreter %py3_shebang_fix %{buildroot}%{_bindir}/fedabipkgdiff %endif @@ -134,7 +141,9 @@ time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log %{_bindir}/abilint %{_bindir}/abipkgdiff %{_bindir}/kmidiff +%if %{with abidb} %{_bindir}/abidb +%endif %{_libdir}/libabigail.so.8 %{_libdir}/libabigail.so.8.0.0 %{_libdir}/libabigail/default.abignore @@ -154,7 +163,7 @@ time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log %license LICENSE.txt license-change-2020.txt %doc doc/manuals/html/* -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?epel} %files fedora %{_bindir}/fedabipkgdiff %endif @@ -165,6 +174,9 @@ time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log - 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 + * Fri Jul 04 2025 Dodji Seketeli - 2.8-1 - Update to usptream 2.8 tarball - Support new libabigail.so.7.0.0 SONAME @@ -176,11 +188,21 @@ time make %{?_smp_mflags} check check-self-compare || (cat tests/test-suite.log - 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 + +* 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 BuildRequire +- 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 +- Disable abidb on RHEL + * Thu Jul 18 2024 Fedora Release Engineering - 2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild