upgrade dnf-plugins-core version to 4.3.1

Signed-off-by: chenhaixing <chenhaixing@huawei.com>
This commit is contained in:
chenhaixing 2022-11-03 20:20:38 +08:00
parent 93473a6fd9
commit e5b4cd9e68
4 changed files with 18 additions and 42 deletions

View File

@ -1,31 +0,0 @@
From bdfb8ed33b54683057364df729d45e782d19e708 Mon Sep 17 00:00:00 2001
From: Marek Blaha <mblaha@redhat.com>
Date: Wed, 6 Oct 2021 13:40:55 +0200
Subject: [PATCH] reposync: Use fail_fast=False when downloading packages
(RhBug:2009894)
= changelog =
msg: Reposync does not stop downloading packages on the first error
type: bugfix
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2009894
Conflict:NA
Reference:https://github.com/rpm-software-management/dnf-plugins-core/commit/bdfb8ed33b54683057364df729d45e782d19e708
---
dnf-plugins-core.spec | 2 +-
plugins/reposync.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/reposync.py b/plugins/reposync.py
index 66c76a77..0ff936f8 100644
--- a/plugins/reposync.py
+++ b/plugins/reposync.py
@@ -303,7 +303,7 @@ def download_packages(self, pkglist):
progress, 0)
payloads = [RPMPayloadLocation(pkg, progress, self.pkg_download_path(pkg))
for pkg in pkglist]
- base._download_remote_payloads(payloads, drpm, progress, None)
+ base._download_remote_payloads(payloads, drpm, progress, None, False)
def print_urls(self, pkglist):
for pkg in pkglist:

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,18 @@
%global dnf_lowest_compatible 4.2.22 %global dnf_lowest_compatible 4.11.0
%global dnf_plugins_extra 2.0.0 %global dnf_plugins_extra 2.0.0
%global hawkey_version 0.46.1 %global hawkey_version 0.64.1
%bcond_without yumcompatibility %bcond_without yumcompatibility
%bcond_without yumutils %bcond_without yumutils
Name: dnf-plugins-core Name: dnf-plugins-core
Version: 4.0.24 Version: 4.3.1
Release: 5 Release: 1
Summary: Core Plugins for DNF Summary: Core Plugins for DNF
License: GPLv2+ License: GPLv2+
URL: https://github.com/rpm-software-management/dnf-plugins-core URL: https://github.com/rpm-software-management/dnf-plugins-core
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch6000: backport-fix-error-when-downloading-packages.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: cmake gettext python3-sphinx BuildRequires: cmake gettext python3-sphinx
@ -24,7 +23,8 @@ Provides: dnf-command(builddep) dnf-command(changelog) dnf-command(
Provides: dnf-command(copr) dnf-command(debug-dump) dnf-command(debug-restore) Provides: dnf-command(copr) dnf-command(debug-dump) dnf-command(debug-restore)
Provides: dnf-command(debuginfo-install) dnf-command(download) dnf-command(repoclosure) Provides: dnf-command(debuginfo-install) dnf-command(download) dnf-command(repoclosure)
Provides: dnf-command(repograph) dnf-command(repomanage) dnf-command(reposync) Provides: dnf-command(repograph) dnf-command(repomanage) dnf-command(reposync)
Provides: dnf-command(repodiff) dnf-plugins-extras-debug = %{version}-%{release} Provides: dnf-command(repodiff) dnf-command(groups-manager)
Provides: dnf-plugins-extras-debug = %{version}-%{release}
Provides: dnf-plugins-extras-repoclosure = %{version}-%{release} Provides: dnf-plugins-extras-repoclosure = %{version}-%{release}
Provides: dnf-plugins-extras-repograph = %{version}-%{release} Provides: dnf-plugins-extras-repograph = %{version}-%{release}
Provides: dnf-plugins-extras-repomanage = %{version}-%{release} Provides: dnf-plugins-extras-repomanage = %{version}-%{release}
@ -34,6 +34,7 @@ Provides: dnf-plugin-debuginfo-install = %{version}-%{release}
Provides: dnf-plugin-download = %{version}-%{release} Provides: dnf-plugin-download = %{version}-%{release}
Provides: dnf-plugin-generate_completion_cache = %{version}-%{release} Provides: dnf-plugin-generate_completion_cache = %{version}-%{release}
Provides: dnf-plugin-needs_restarting = %{version}-%{release} Provides: dnf-plugin-needs_restarting = %{version}-%{release}
Provides: dnf-plugin-groups-manager = %{version}-%{release}
Provides: dnf-plugin-repoclosure = %{version}-%{release} Provides: dnf-plugin-repoclosure = %{version}-%{release}
Provides: dnf-plugin-repodiff = %{version}-%{release} Provides: dnf-plugin-repodiff = %{version}-%{release}
Provides: dnf-plugin-repograph = %{version}-%{release} Provides: dnf-plugin-repograph = %{version}-%{release}
@ -46,11 +47,11 @@ Provides: dnf-utils = %{version}-%{release}
Conflicts: dnf-plugins-extras-common-data < %{dnf_plugins_extra} Conflicts: dnf-plugins-extras-common-data < %{dnf_plugins_extra}
Conflicts: yum-utils < 1.1.31-520 yum-plugin-copr < 1.1.31-520 Conflicts: yum-utils < 1.1.31-520 yum-plugin-copr < 1.1.31-520
Obsoletes: dnf-utils < %{version}-%{release} Obsoletes: dnf-utils < %{version}-%{release}
Obsoletes: python2-dnf-plugin-migrate < %{version}-%{release} Obsoletes: python2-dnf-plugin-migrate < %{version}-%{release}
%description %description
Core Plugins for DNF. This package enhances DNF with builddep, config-manager, Core Plugins for DNF. This package enhances DNF with builddep, config-manager,
copr, debug, debuginfo-install, download, needs-restarting, repoclosure, copr, debug, debuginfo-install, download, needs-restarting, groups-manager, repoclosure,
repograph, repomanage, reposync, changelog and repodiff commands. Additionally repograph, repomanage, reposync, changelog and repodiff commands. Additionally
provides generate_completion_cache passive plugin. provides generate_completion_cache passive plugin.
@ -138,7 +139,7 @@ required by any other installed package after a transaction.
%package -n python3-dnf-plugin-local %package -n python3-dnf-plugin-local
Summary: Local Plugin for DNF Summary: Local Plugin for DNF
Requires: createrepo_c python3-%{name} = %{version}-%{release} Requires: createrepo_c >= 0.17.4 python3-%{name} = %{version}-%{release}
Provides: dnf-plugin-local = %{version}-%{release} Provides: dnf-plugin-local = %{version}-%{release}
Provides: python3-dnf-plugins-extras-local = %{version}-%{release} Provides: python3-dnf-plugins-extras-local = %{version}-%{release}
Provides: dnf-plugins-extras-local = %{version}-%{release} Provides: dnf-plugins-extras-local = %{version}-%{release}
@ -232,6 +233,7 @@ popd
%{python3_sitelib}/dnf-plugins/download.py %{python3_sitelib}/dnf-plugins/download.py
%{python3_sitelib}/dnf-plugins/generate_completion_cache.py %{python3_sitelib}/dnf-plugins/generate_completion_cache.py
%{python3_sitelib}/dnf-plugins/groups_manager.py %{python3_sitelib}/dnf-plugins/groups_manager.py
%{python3_sitelib}/dnf-plugins/modulesync.*
%{python3_sitelib}/dnf-plugins/needs_restarting.py %{python3_sitelib}/dnf-plugins/needs_restarting.py
%{python3_sitelib}/dnf-plugins/repoclosure.py %{python3_sitelib}/dnf-plugins/repoclosure.py
%{python3_sitelib}/dnf-plugins/repodiff.py %{python3_sitelib}/dnf-plugins/repodiff.py
@ -247,6 +249,7 @@ popd
%{python3_sitelib}/dnf-plugins/__pycache__/download.* %{python3_sitelib}/dnf-plugins/__pycache__/download.*
%{python3_sitelib}/dnf-plugins/__pycache__/generate_completion_cache.* %{python3_sitelib}/dnf-plugins/__pycache__/generate_completion_cache.*
%{python3_sitelib}/dnf-plugins/__pycache__/groups_manager.* %{python3_sitelib}/dnf-plugins/__pycache__/groups_manager.*
%{python3_sitelib}/dnf-plugins/__pycache__/modulesync.*
%{python3_sitelib}/dnf-plugins/__pycache__/needs_restarting.* %{python3_sitelib}/dnf-plugins/__pycache__/needs_restarting.*
%{python3_sitelib}/dnf-plugins/__pycache__/repoclosure.* %{python3_sitelib}/dnf-plugins/__pycache__/repoclosure.*
%{python3_sitelib}/dnf-plugins/__pycache__/repodiff.* %{python3_sitelib}/dnf-plugins/__pycache__/repodiff.*
@ -312,6 +315,7 @@ popd
%{_mandir}/man8/dnf-download.* %{_mandir}/man8/dnf-download.*
%{_mandir}/man8/dnf-generate_completion_cache.* %{_mandir}/man8/dnf-generate_completion_cache.*
%{_mandir}/man8/dnf-groups-manager.* %{_mandir}/man8/dnf-groups-manager.*
%{_mandir}/man8/dnf-modulesync.*
%{_mandir}/man8/dnf-needs-restarting.* %{_mandir}/man8/dnf-needs-restarting.*
%{_mandir}/man8/dnf-repoclosure.* %{_mandir}/man8/dnf-repoclosure.*
%{_mandir}/man8/dnf-repodiff.* %{_mandir}/man8/dnf-repodiff.*
@ -326,6 +330,9 @@ popd
%{_mandir}/man8/dnf-local.* %{_mandir}/man8/dnf-local.*
%changelog %changelog
* Thu Nov 3 2022 chenhaixing <chenhaixing@huawei.com> - 4.3.1-1
- DESC:upgrade dnf-plugins-core version to 4.3.1
* Mon Aug 22 2022 chenhaixing <chenhaixing@huawei.com> - 4.0.24-5 * Mon Aug 22 2022 chenhaixing <chenhaixing@huawei.com> - 4.0.24-5
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA
@ -338,13 +345,13 @@ popd
* Sat Jan 22 2022 hanhui<hanhui15@huawei.com> - 4.0.24-3 * Sat Jan 22 2022 hanhui<hanhui15@huawei.com> - 4.0.24-3
- DESC:Reposync does not stop downloading packages - DESC:Reposync does not stop downloading packages
* Fri Jan 01 2022 wangkerong<wangkerong@huawei.com> - 4.0.24-2 * Fri Jan 7 2022 wangkerong<wangkerong@huawei.com> - 4.0.24-2
- DESC:delete buildrequires of python-nose - DESC:delete buildrequires of python-nose
* Tue Nov 23 2021 hanhui<hanhui15@huawei.com> - 4.0.24-1 * Tue Nov 23 2021 hanhui<hanhui15@huawei.com> - 4.0.24-1
- DESC:update to 4.0.24 - DESC:update to 4.0.24
* Thu Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 4.0.17-3 * Tue Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 4.0.17-3
- delete gdb in buildrequires - delete gdb in buildrequires
* Fri Apr 16 2021 hanhui <hanhui15@huawei.com> - 4.0.17-2 * Fri Apr 16 2021 hanhui <hanhui15@huawei.com> - 4.0.17-2