From b45b0a4f319ffc564e2e0fe134feb4536dd01d93 Mon Sep 17 00:00:00 2001 From: wangyueliang Date: Wed, 8 May 2024 16:37:19 +0800 Subject: [PATCH] Replace COPR hub with openeuler --- 9000-Replace-COPR-hub-with-openeuler.patch | 24 ++++++++++++++++++++++ dnf-plugins-core.spec | 10 ++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 9000-Replace-COPR-hub-with-openeuler.patch diff --git a/9000-Replace-COPR-hub-with-openeuler.patch b/9000-Replace-COPR-hub-with-openeuler.patch new file mode 100644 index 0000000..db07a75 --- /dev/null +++ b/9000-Replace-COPR-hub-with-openeuler.patch @@ -0,0 +1,24 @@ +From 7b53194f09c229e36fdc9d39556638c21c130dfa Mon Sep 17 00:00:00 2001 +From: wangyueliang +Date: Wed, 8 May 2024 16:29:26 +0800 +Subject: [PATCH] Replace COPR hub with openeuler + +--- + etc/dnf/plugins/copr.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/etc/dnf/plugins/copr.conf b/etc/dnf/plugins/copr.conf +index bc29926..5d188c1 100644 +--- a/etc/dnf/plugins/copr.conf ++++ b/etc/dnf/plugins/copr.conf +@@ -1,5 +1,5 @@ +-[fedora] +-hostname = copr.fedorainfracloud.org ++[openeuler] ++hostname = eur.openeuler.openatom.cn + protocol = https + port = 443 + +-- +2.33.0 + diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index f3b4120..ce9e970 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -7,7 +7,7 @@ Name: dnf-plugins-core Version: 4.3.1 -Release: 3 +Release: 4 Summary: Core Plugins for DNF License: GPLv2+ URL: https://github.com/rpm-software-management/dnf-plugins-core @@ -15,6 +15,8 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz patch6000: backport-download-plugin-respect-install_weak_deps-option-value.patch +patch9000: 9000-Replace-COPR-hub-with-openeuler.patch + BuildArch: noarch BuildRequires: cmake gettext python3-sphinx Requires: python3-%{name} = %{version}-%{release} @@ -345,6 +347,12 @@ popd %{_mandir}/man8/dnf-local.* %changelog +* Wed May 8 2024 wangyueliang - 4.3.1-4 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Replace COPR hub with openeuler + * Tue Jun 27 2023 chenhaixing - 4.3.1-3 - Type:bugfix - CVE:NA -- Gitee