Enable fastestmirror by default

i9 changed/i9/dnf-4.14.0-5.el9_2.1.inferit
Arkady L. Shane 2 years ago
parent 6bd034c4d8
commit 46030e75e5
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -0,0 +1,33 @@
From 98e0b5658215116761cf2f56d312a8d2871b00a7 Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Tue, 29 Aug 2023 13:32:05 +0300
Subject: [PATCH] Set fastestmirror=True by default
---
etc/dnf/dnf-strict.conf | 1 +
etc/dnf/dnf.conf | 1 +
2 files changed, 2 insertions(+)
diff --git a/etc/dnf/dnf-strict.conf b/etc/dnf/dnf-strict.conf
index 3d08d07..ebaf324 100644
--- a/etc/dnf/dnf-strict.conf
+++ b/etc/dnf/dnf-strict.conf
@@ -3,4 +3,5 @@ gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=True
+fastestmirror=True
skip_if_unavailable=False
diff --git a/etc/dnf/dnf.conf b/etc/dnf/dnf.conf
index bc665d2..043005d 100644
--- a/etc/dnf/dnf.conf
+++ b/etc/dnf/dnf.conf
@@ -5,4 +5,5 @@ gpgcheck=True
installonly_limit=3
clean_requirements_on_remove=True
best=False
+fastestmirror=True
skip_if_unavailable=True
--
2.41.0

@ -66,7 +66,7 @@ It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.14.0
Release: 5%{?dist}.inferit
Release: 5%{?dist}.1.inferit
Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPLv2+
@ -78,6 +78,7 @@ Patch3: 0003-Move-system-upgrade-plugin-to-core-RhBug-2054235.patch
Patch4: 0004-Fix-plugins-unit-tests.patch
Patch5: 0005-Ignore-processing-variable-files-with-unsupported-en.patch
Patch6: 0006-Update-translations.patch
Patch7: 0007-Set-fastestmirror-True-by-default.patch
# MSVSphere patches
Patch10000: msvsphere_bugtracker.patch
@ -369,6 +370,9 @@ popd
%{python3_sitelib}/%{name}/automatic/
%changelog
* Tue Aug 29 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 4.14.0-5.1.inferit
- Enable fastestmirror by default
* Wed May 17 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 4.14.0-5.inferit
- Changed bug tracker URL to https://bugs.msvsphere.ru/
- Rebuilt for MSVSphere 9.2.

Loading…
Cancel
Save