Replace COPR hub with openeuler

(cherry picked from commit b45b0a4f319ffc564e2e0fe134feb4536dd01d93)
This commit is contained in:
wangyueliang 2024-05-08 16:37:19 +08:00 committed by openeuler-sync-bot
parent 125f092607
commit 2f92838446
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 7b53194f09c229e36fdc9d39556638c21c130dfa Mon Sep 17 00:00:00 2001
From: wangyueliang <wangyueliang@kylinos.cn>
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

View File

@ -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 <wangyueliang@kylinos.cn> - 4.3.1-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:Replace COPR hub with openeuler
* Tue Jun 27 2023 chenhaixing <chenhaixing@huawei.com> - 4.3.1-3
- Type:bugfix
- CVE:NA