diff --git a/SOURCES/almalinux_bugtracker.patch b/SOURCES/almalinux_bugtracker.patch new file mode 100644 index 0000000..8ccc2c7 --- /dev/null +++ b/SOURCES/almalinux_bugtracker.patch @@ -0,0 +1,23 @@ +diff -aruN libdnf-0.63.0/docs/hawkey/conf.py libdnf-0.63.0_alma/docs/hawkey/conf.py +--- libdnf-0.63.0/docs/hawkey/conf.py 2021-05-18 17:07:23.000000000 +0300 ++++ libdnf-0.63.0_alma/docs/hawkey/conf.py 2021-12-30 11:03:39.179244600 +0300 +@@ -260,6 +260,6 @@ + rst_prolog = """ + .. default-domain:: py + .. _libsolv: https://github.com/openSUSE/libsolv +-.. _bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=hawkey ++.. _bugzilla: https://bugs.almalinux.org/ + + """ +diff -aruN libdnf-0.63.0/libdnf/conf/Const.hpp libdnf-0.63.0_alma/libdnf/conf/Const.hpp +--- libdnf-0.63.0/libdnf/conf/Const.hpp 2021-05-18 17:07:23.000000000 +0300 ++++ libdnf-0.63.0_alma/libdnf/conf/Const.hpp 2021-12-30 11:03:47.004789800 +0300 +@@ -41,7 +41,7 @@ + "installonlypkg(vm)", + "multiversion(kernel)"}; + +-constexpr const char * BUGTRACKER="https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf"; ++constexpr const char * BUGTRACKER="https://bugs.almalinux.org/"; + + } + diff --git a/SPECS/libdnf.spec b/SPECS/libdnf.spec index 853c884..9c3b0ec 100644 --- a/SPECS/libdnf.spec +++ b/SPECS/libdnf.spec @@ -56,12 +56,15 @@ Name: libdnf Version: %{libdnf_major_version}.%{libdnf_minor_version}.%{libdnf_micro_version} -Release: 2%{?dist} +Release: 2%{?dist}.alma Summary: Library providing simplified C and Python API to libsolv License: LGPLv2+ URL: https://github.com/rpm-software-management/libdnf Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +# Almalinux patches +Patch10001: almalinux_bugtracker.patch + BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ @@ -305,6 +308,9 @@ popd %endif %changelog +* Tue Jan 18 2022 Eduard Abdullin - 0.65.0-2.alma +- Added patch for almalinux bugtracker + * Thu Dec 09 2021 Pavla Kratochvilova - 0.65.0-2 - Rebuilt with json-c-0.14-11.el9 (RhBug:2023320)