From 0c545efb9b57dcb76e54281b736ea4e2ef1a277b Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Sun, 19 Mar 2023 19:25:05 +0300 Subject: [PATCH] Changed bugtracker to https://bugs.msvsphere.ru/ --- SOURCES/msvsphere_bugtracker.patch | 32 ++++++++++++++++++++++++++++++ SPECS/dnf.spec | 9 ++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 SOURCES/msvsphere_bugtracker.patch diff --git a/SOURCES/msvsphere_bugtracker.patch b/SOURCES/msvsphere_bugtracker.patch new file mode 100644 index 0000000..90e9d8d --- /dev/null +++ b/SOURCES/msvsphere_bugtracker.patch @@ -0,0 +1,32 @@ +diff -aruN dnf-4.12.0/dnf/const.py.in dnf-4.12.0_inferit/dnf/const.py.in +--- dnf-4.12.0/dnf/const.py.in 2023-03-06 22:24:09.997342302 +0300 ++++ dnf-4.12.0_inferit/dnf/const.py.in 2023-03-10 16:25:23.296678018 +0300 +@@ -54,4 +54,4 @@ + USER_AGENT = "dnf/%s" % VERSION + + BUGTRACKER_COMPONENT=NAME.lower() +-BUGTRACKER='https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%s' % BUGTRACKER_COMPONENT ++BUGTRACKER='https://bugs.msvsphere.ru/' +diff -aruN dnf-4.12.0/doc/conf.py.in dnf-4.12.0_inferit/doc/conf.py.in +--- dnf-4.12.0/doc/conf.py.in 2023-03-06 22:24:09.997342302 +0300 ++++ dnf-4.12.0_inferit/doc/conf.py.in 2023-03-10 16:25:59.344542624 +0300 +@@ -267,5 +267,5 @@ + .. _DNF: https://github.com/rpm-software-management/dnf/ + .. _hawkey: http://rpm-software-management.github.io/hawkey/ + .. _YUM: http://yum.baseurl.org/ +-.. _bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf ++.. _bugzilla: https://bugs.msvsphere.ru/ + """ +diff -aruN dnf-4.12.0/tests/test_config.py dnf-4.12.0_inferit/tests/test_config.py +--- dnf-4.12.0/tests/test_config.py 2023-03-06 22:24:09.998342298 +0300 ++++ dnf-4.12.0_inferit/tests/test_config.py 2023-03-10 16:26:54.330336107 +0300 +@@ -55,8 +55,7 @@ + def test_bugtracker(self): + conf = Conf() + self.assertEqual(conf.bugtracker_url, +- "https://bugzilla.redhat.com/enter_bug.cgi" + +- "?product=Fedora&component=dnf") ++ "https://bugs.msvsphere.ru/") + + def test_conf_from_file(self): + conf = Conf() diff --git a/SPECS/dnf.spec b/SPECS/dnf.spec index 5ff3eaa..c8ff215 100644 --- a/SPECS/dnf.spec +++ b/SPECS/dnf.spec @@ -66,7 +66,7 @@ It supports RPMs, modules and comps groups & environments. Name: dnf Version: 4.12.0 -Release: 4%{?dist} +Release: 4%{?dist}.inferit Summary: %{pkg_summary} # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2+ @@ -79,6 +79,10 @@ Patch0001: 0001-Base.reset-plug-temporary-leak-of-libsolv-s-page-fil.patch Patch0002: 0002-Add-only-relevant-pkgs-to-upgrade-transaction-RhBug-.patch Patch0003: 0003-Use-installed_all-because-installed_query-is-filtere.patch Patch0004: 0004-Update-translations-RHEL-9.1.patch + +# MSVSphere patches +Patch10000: msvsphere_bugtracker.patch + BuildArch: noarch BuildRequires: cmake BuildRequires: gettext @@ -367,6 +371,9 @@ popd %{python3_sitelib}/%{name}/automatic/ %changelog +* Sun Mar 19 2023 Eugene Zamriy - 4.12.0-4.inferit +- Changed bug tracker URL to https://bugs.msvsphere.ru/ + * Wed Mar 15 2023 MSVSphere Packaging Team - 4.12.0-4 - Rebuilt for MSVSphere 9.1.