diff --git a/libabigail.spec b/libabigail.spec index 19dded8..5e72045 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -1,6 +1,3 @@ -# dependencies are not available in RHEL -%bcond abidb %{undefined rhel} - %global tarball_revision 1 %global tarball_name %{name}-%{version} @@ -25,13 +22,9 @@ BuildRequires: xz-devel >= 5.2.0 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} || 0%{?epel} +%if 0%{?fedora} BuildRequires: dpkg BuildRequires: koji BuildRequires: python3-koji @@ -74,7 +67,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} +%if 0%{?fedora} %package fedora Summary: Utility to compare the ABI of Fedora packages BuildRequires: python3-devel @@ -105,7 +98,7 @@ them manually. %autosetup -v -S git %build -%configure %{?with_abidb:--enable-abidb} --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 @@ -124,7 +117,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} || 0%{?epel} +%if 0%{?fedora} # Explicitly use Python 3 as the interpreter %py3_shebang_fix %{buildroot}%{_bindir}/fedabipkgdiff %endif @@ -141,9 +134,7 @@ 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 @@ -163,7 +154,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} || 0%{?epel} +%if 0%{?fedora} %files fedora %{_bindir}/fedabipkgdiff %endif @@ -174,9 +165,6 @@ 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 @@ -188,21 +176,11 @@ 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 BuildRequires +- Add xxhash-devel as BuildRequire - 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