From 46030e75e55180d9c40fa26627a815c1ff56d0a2 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 29 Aug 2023 13:36:41 +0300 Subject: [PATCH] Enable fastestmirror by default --- ...07-Set-fastestmirror-True-by-default.patch | 33 +++++++++++++++++++ SPECS/dnf.spec | 6 +++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0007-Set-fastestmirror-True-by-default.patch diff --git a/SOURCES/0007-Set-fastestmirror-True-by-default.patch b/SOURCES/0007-Set-fastestmirror-True-by-default.patch new file mode 100644 index 0000000..8bfafd0 --- /dev/null +++ b/SOURCES/0007-Set-fastestmirror-True-by-default.patch @@ -0,0 +1,33 @@ +From 98e0b5658215116761cf2f56d312a8d2871b00a7 Mon Sep 17 00:00:00 2001 +From: tigro +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 + diff --git a/SPECS/dnf.spec b/SPECS/dnf.spec index f5260af..fe20a40 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.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 - 4.14.0-5.1.inferit +- Enable fastestmirror by default + * Wed May 17 2023 Sergey Cherevko - 4.14.0-5.inferit - Changed bug tracker URL to https://bugs.msvsphere.ru/ - Rebuilt for MSVSphere 9.2.