From 825f016fd21c7f75ddb5dac902d3e0b81978c4ba Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 18 May 2022 13:42:56 +0300 Subject: [PATCH] AlmaLinux changes --- SOURCES/almalinux_bugtracker.patch | 23 +++++++++++++++++++++++ SPECS/libdnf.spec | 7 ++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 SOURCES/almalinux_bugtracker.patch 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 dbb0e58..7da8f1b 100644 --- a/SPECS/libdnf.spec +++ b/SPECS/libdnf.spec @@ -56,7 +56,7 @@ Name: libdnf Version: %{libdnf_major_version}.%{libdnf_minor_version}.%{libdnf_micro_version} -Release: 5%{?dist} +Release: 5%{?dist}.alma Summary: Library providing simplified C and Python API to libsolv License: LGPLv2+ URL: https://github.com/rpm-software-management/libdnf @@ -64,6 +64,8 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Patch1: 0001-Use-rpmdbCookie-from-librpm-remove-hawkey.Sack._rpmd.patch Patch2: 0002-Skip-rich-deps-for-autodetection-of-unmet-dependencies-RhBug2033130-2048394.patch Patch3: 0003-Update-translations-RhBug-2017349.patch +# Almalinux patches +Patch10001: almalinux_bugtracker.patch BuildRequires: cmake BuildRequires: gcc @@ -307,6 +309,9 @@ popd %endif %changelog +* Wed may 18 2022 Eduard Abdullin - 0.65.0-5.alma +- Added patch for almalinux bugtracker + * Mon Mar 21 2022 Marek Blaha - 0.65.0-5 - Update translations