From fd4181dddee4d1993a0818e97c542afdcea7d494 Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Wed, 15 Jan 2025 20:56:29 +0100 Subject: [PATCH] Initial commit --- config.yaml | 16 ++++++++++++++++ files/almalinux_bugtracker.patch | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 config.yaml create mode 100644 files/almalinux_bugtracker.patch diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..e9da995 --- /dev/null +++ b/config.yaml @@ -0,0 +1,16 @@ +actions: + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Added patch for almalinux bugtracker" + + - add_files: + - type: "patch" + name: "almalinux_bugtracker.patch" + number: 10000 diff --git a/files/almalinux_bugtracker.patch b/files/almalinux_bugtracker.patch new file mode 100644 index 0000000..9aebb2e --- /dev/null +++ b/files/almalinux_bugtracker.patch @@ -0,0 +1,32 @@ +diff -aruN dnf-4.7.0/dnf/const.py.in dnf-4.7.0_alma/dnf/const.py.in +--- dnf-4.7.0/dnf/const.py.in 2021-04-12 18:26:33.000000000 +0300 ++++ dnf-4.7.0_alma/dnf/const.py.in 2021-12-30 10:30:33.806575400 +0300 +@@ -55,4 +55,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.almalinux.org/' +diff -aruN dnf-4.7.0/doc/conf.py.in dnf-4.7.0_alma/doc/conf.py.in +--- dnf-4.7.0/doc/conf.py.in 2021-04-12 18:26:33.000000000 +0300 ++++ dnf-4.7.0_alma/doc/conf.py.in 2021-12-30 10:34:07.810855800 +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.almalinux.org/ + """ +diff -aruN dnf-4.7.0/tests/test_config.py dnf-4.7.0_alma/tests/test_config.py +--- dnf-4.7.0/tests/test_config.py 2021-04-12 18:26:33.000000000 +0300 ++++ dnf-4.7.0_alma/tests/test_config.py 2021-12-30 10:33:24.147815500 +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.almalinux.org/") + + def test_conf_from_file(self): + conf = Conf()