Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dnf for openSUSE:Factory checked in at 2022-03-29 18:14:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dnf (Old) and /work/SRC/openSUSE:Factory/.dnf.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dnf" Tue Mar 29 18:14:17 2022 rev:31 rq:965257 version:4.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dnf/dnf.changes 2022-01-11 00:02:38.113279341 +0100 +++ /work/SRC/openSUSE:Factory/.dnf.new.1900/dnf.changes 2022-03-29 18:14:31.539078844 +0200 @@ -1,0 +2,25 @@ +Sun Mar 27 21:43:57 UTC 2022 - Neal Gompa <ngomp...@gmail.com> + +- Update to 4.11.1 + + Allow destdir option with modulesync command + + Add documentation for query api flags (rh#2035577) + + Fix swap command to work with local rpm files correctly (rh#2036434) + + Fix regression in verifying signatures using rpmkeys + + Use rpm.TransactionSet.dbCookie() to determining if rpmdb has changed (rh#2043476) + + Fix decompression of groups.xml (rh#2030255) + + Fix history undo on a Reason Change (rh#2010259, rh#2053014) + + Remove /usr/bin from sys.path to avoid accidentally importing garbage + + Fix: Python dnf API does not respect cacheonly (rh#1862970) + + Fix python3.11 build: remove deprecated, update traceback regex + + fix dnf mark error when history sqlite missing + + [doc] Improve description of multilib_policy=all (rh#1996681, rh#1995630) + + [doc] clarify effect of --enablerepo and --disablerepo options (rh#2031414) + + [doc] default values for module_obsoletes and module_stream_switch (rh#2051846) + +------------------------------------------------------------------- +Fri Mar 25 15:37:20 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com> + +- Add Fix-processing-of-download-errors.patch backported from upstream + * Fix dnf incorrectly aborting on non-English systems when packages already cached (rh#2024527) + +------------------------------------------------------------------- Old: ---- dnf-4.10.0.tar.gz New: ---- Fix-processing-of-download-errors.patch dnf-4.11.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dnf.spec ++++++ --- /var/tmp/diff_new_pack.IGU0gN/_old 2022-03-29 18:14:32.191079444 +0200 +++ /var/tmp/diff_new_pack.IGU0gN/_new 2022-03-29 18:14:32.199079451 +0200 @@ -17,11 +17,11 @@ # -%global hawkey_version 0.65.0 +%global hawkey_version 0.66.0 %global libcomps_version 0.1.8 %global libmodulemd_version 2.9.3 %global rpm_version 4.14.0 -%global min_plugins_core 4.0.20 +%global min_plugins_core 4.0.26 %global min_plugins_extras 4.0.4 %global confdir %{_sysconfdir}/%{name} @@ -50,7 +50,7 @@ %bcond_with tests Name: dnf -Version: 4.10.0 +Version: 4.11.1 Release: 0 Summary: Package manager forked from Yum, using libsolv as a dependency resolver # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -60,13 +60,15 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # Backports from upstream +## https://github.com/rpm-software-management/dnf/pull/1818 +Patch0001: Fix-processing-of-download-errors.patch # Fixes proposed upstream # openSUSE specific fixes ## Migrate DNF persistent state directory to /usr/lib/sysimage Patch1001: dnf-4.8.0-Use-usr-lib-sysimage-for-the-persistent-state-dir.patch -## We defalut allow_vendor_change to False, upstream has it as True +## We default allow_vendor_change to False, upstream has it as True Patch1002: dnf-4.6_vendor_change_doc.patch BuildRequires: bash-completion @@ -166,6 +168,8 @@ BuildRequires: python3-libcomps >= %{libcomps_version} BuildRequires: python3-libmodulemd >= %{libmodulemd_version} BuildRequires: python3-rpm >= %{rpm_version} +# required for DNSSEC main.gpgkey_dns_verification https://dnf.readthedocs.io/en/latest/conf_ref.html +Recommends: python3-unbound Recommends: (python3-dbus-python if NetworkManager) Requires: deltarpm Requires: dnf-data = %{version}-%{release} ++++++ Fix-processing-of-download-errors.patch ++++++ >From c0762f57018101d4fce8ac6f8869a0892199e45a Mon Sep 17 00:00:00 2001 From: Marek Blaha <mbl...@redhat.com> Date: Mon, 14 Mar 2022 09:49:52 +0100 Subject: [PATCH] Fix processing of download errors (RhBug: 2024527) Users with different than english locale are not able to update their systems in case that some of updates are already downloaded in the dnf cache (e.g. using dnf-automatic). The error string is taken from librepo target where it is stored untranslated. Therefore we need to compare untranslated versions of the string. = changelog = msg: Fix download errors handling in non-english locales type: bugfix resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2024527 --- dnf/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf/repo.py b/dnf/repo.py index 1822cf01ce..ec1a2537db 100644 --- a/dnf/repo.py +++ b/dnf/repo.py @@ -108,7 +108,7 @@ def _download_sort_key(payload): callbacks = tgt.getCallbacks() payload = callbacks.package_pload pkg = payload.pkg - if err == _('Already downloaded'): + if err == 'Already downloaded': errs._skipped.add(pkg) continue pkg.repo._repo.expire() ++++++ dnf-4.10.0.tar.gz -> dnf-4.11.1.tar.gz ++++++ ++++ 52124 lines of diff (skipped)