From f277159d4a9de428d7ca759c790cbfdca317f483 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 15 Aug 2023 10:51:00 +0300 Subject: [PATCH] Changed bug tracker URL to https://bugs.msvsphere.ru/ --- SOURCES/0001-msvsphere-bugtracker.patch | 49 +++++++++++++++++++++++++ SPECS/dnf.spec | 9 ++++- 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 SOURCES/0001-msvsphere-bugtracker.patch diff --git a/SOURCES/0001-msvsphere-bugtracker.patch b/SOURCES/0001-msvsphere-bugtracker.patch new file mode 100644 index 0000000..a20f674 --- /dev/null +++ b/SOURCES/0001-msvsphere-bugtracker.patch @@ -0,0 +1,49 @@ +From a49b98067c151ee2a829f917c2b8278b4384df19 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Tue, 15 Aug 2023 10:47:42 +0300 +Subject: [PATCH] msvsphere bugtracker + +--- + dnf/const.py.in | 2 +- + doc/conf.py.in | 2 +- + tests/test_config.py | 3 +-- + 3 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/dnf/const.py.in b/dnf/const.py.in +index 4ef2613..83151a6 100644 +--- a/dnf/const.py.in ++++ b/dnf/const.py.in +@@ -55,4 +55,4 @@ VERSION='@DNF_VERSION@' + 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 --git a/doc/conf.py.in b/doc/conf.py.in +index 2add96f..daa153f 100644 +--- a/doc/conf.py.in ++++ b/doc/conf.py.in +@@ -267,5 +267,5 @@ rst_prolog = """ + .. _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 --git a/tests/test_config.py b/tests/test_config.py +index d850267..d35dee2 100644 +--- a/tests/test_config.py ++++ b/tests/test_config.py +@@ -55,8 +55,7 @@ class ConfTest(tests.support.TestCase): + 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() +-- +2.39.2 + diff --git a/SPECS/dnf.spec b/SPECS/dnf.spec index 74a950b..b1f4d04 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.7.0 -Release: 16%{?dist} +Release: 16%{?dist}.inferit Summary: %{pkg_summary} # For a breakdown of the licensing, see PACKAGE-LICENSING License: GPLv2+ @@ -117,7 +117,8 @@ Patch0038: 0038-Better-explain-traceback-of-rpm.error-with-dnf.patch Patch0039: 0039-Ignore-processing-variable-files-with-unsupported-en.patch Patch0040: 0040-Update-translations.patch - +# MSVSphere patches +Patch10000: 0001-msvsphere-bugtracker.patch BuildArch: noarch BuildRequires: cmake @@ -417,6 +418,10 @@ popd %{python3_sitelib}/%{name}/automatic/ %changelog +* Tue Aug 15 2023 Sergey Cherevko - 4.7.0-16.inferit +- Changed bug tracker URL to https://bugs.msvsphere.ru/ +- Rebuilt for MSVSphere 8.8 + * Tue Jul 25 2023 MSVSphere Packaging Team - 4.7.0-16 - Rebuilt for MSVSphere 8.8