diff --git a/backport-Fix-bash-completion-due-to-sqlite-changes.patch b/backport-Fix-bash-completion-due-to-sqlite-changes.patch deleted file mode 100644 index 53955f3271c1186bfaeac67d73a4946acb2b57e6..0000000000000000000000000000000000000000 --- a/backport-Fix-bash-completion-due-to-sqlite-changes.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 33fde245b0a49eb02837b6fedb2d14ed92c2d99f Mon Sep 17 00:00:00 2001 -From: grumpey <61189565+grumpey@users.noreply.github.com> -Date: Sun, 20 Aug 2023 07:35:29 -0400 -Subject: [PATCH] Fix bash completion due to sqlite changes - -Conflict:NA -Reference:https://github.com/rpm-software-management/dnf/commit/33fde245b0a49eb02837b6fedb2d14ed92c2d99f - -= changelog = -msg: Fix bash completion due to sqlite changes -type: bugfix -resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2232052 -related: https://sqlite.org/src/info/c995932c3ffe7f27 ---- - etc/bash_completion.d/dnf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/etc/bash_completion.d/dnf b/etc/bash_completion.d/dnf -index eb34b807a9..8a9256a695 100644 ---- a/etc/bash_completion.d/dnf -+++ b/etc/bash_completion.d/dnf -@@ -112,7 +112,7 @@ _dnf_query_db() - { - local table=$1 - local prefix=$2 -- local query="select pkg from $table where pkg like \"$prefix%\"" -+ local query="select pkg from $table where pkg like '$prefix%'" - if [ "$table" = "available" ]; then - # The available table contains both installed and non-installed - # packages. Exclude the installed packages. diff --git a/backport-Revert-Unprotect-dnf-and-yum-protect-python3-dnf.patch b/backport-Revert-Unprotect-dnf-and-yum-protect-python3-dnf.patch deleted file mode 100644 index 198449fa93c4f08693296ec205f4a871e3ca3d9f..0000000000000000000000000000000000000000 --- a/backport-Revert-Unprotect-dnf-and-yum-protect-python3-dnf.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 0f15b2d04ed895fa1a5763c722b1d318b20b9ff0 Mon Sep 17 00:00:00 2001 -From: Nicola Sella -Date: Mon, 28 Aug 2023 13:07:18 +0200 -Subject: [PATCH] Revert "Unprotect dnf and yum, protect python3-dnf" - -This reverts commit 352b174a0b4ce2048ef1a25b785f20449e2addc2. -adding the condition %{witout dnf5_obsoletes_dnf} to keep the -unprotected directive for chroots that build dnf with rpm -option with=dnf5_obsoletes_dnf ---- - etc/dnf/protected.d/CMakeLists.txt | 2 +- - etc/dnf/protected.d/dnf.conf | 4 +--- - etc/dnf/protected.d/python3-dnf.conf | 1 - - etc/dnf/protected.d/yum.conf | 5 +---- - 4 files changed, 3 insertions(+), 9 deletions(-) - delete mode 100644 etc/dnf/protected.d/python3-dnf.conf - -Conflict:NA -Reference:https://github.com/rpm-software-management/dnf/commit/0f15b2d04ed895fa1a5763c722b1d318b20b9ff0 -diff --git a/etc/dnf/protected.d/CMakeLists.txt b/etc/dnf/protected.d/CMakeLists.txt -index d58d805f..d368f146 100644 ---- a/etc/dnf/protected.d/CMakeLists.txt -+++ b/etc/dnf/protected.d/CMakeLists.txt -@@ -1 +1 @@ --INSTALL (FILES "dnf.conf" "yum.conf" "python3-dnf.conf" DESTINATION ${SYSCONFDIR}/dnf/protected.d) -+INSTALL (FILES "dnf.conf" "yum.conf" DESTINATION ${SYSCONFDIR}/dnf/protected.d) -diff --git a/etc/dnf/protected.d/dnf.conf b/etc/dnf/protected.d/dnf.conf -index c2b5885c..6148f6c9 100644 ---- a/etc/dnf/protected.d/dnf.conf -+++ b/etc/dnf/protected.d/dnf.conf -@@ -1,3 +1 @@ --# DNF is obsoleted in Fedora 39 by DNF 5 and should no longer be marked as protected. -- --# dnf -+dnf -diff --git a/etc/dnf/protected.d/python3-dnf.conf b/etc/dnf/protected.d/python3-dnf.conf -deleted file mode 100644 -index f3cce4b0..00000000 ---- a/etc/dnf/protected.d/python3-dnf.conf -+++ /dev/null -@@ -1 +0,0 @@ --python3-dnf -diff --git a/etc/dnf/protected.d/yum.conf b/etc/dnf/protected.d/yum.conf -index 4f1d0b5a..f42afee9 100644 ---- a/etc/dnf/protected.d/yum.conf -+++ b/etc/dnf/protected.d/yum.conf -@@ -1,4 +1 @@ --# In Fedora 39, yum is obsoleted/provided by the dnf5 package rather than dnf, --# and DNF cannot replace itself with DNF5 if yum is marked as protected. -- --# yum -+yum --- -2.33.0 \ No newline at end of file diff --git a/dnf-4.16.2.tar.gz b/dnf-4.16.2.tar.gz deleted file mode 100644 index 50f5e68135a5d6b12bfeffa1f5f90a6b970f9210..0000000000000000000000000000000000000000 Binary files a/dnf-4.16.2.tar.gz and /dev/null differ diff --git a/dnf-4.17.0.tar.gz b/dnf-4.17.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3eed8ee59307f6125daf2f80782c1bc21d188d06 Binary files /dev/null and b/dnf-4.17.0.tar.gz differ diff --git a/dnf.spec b/dnf.spec index 0962324d91dcfaeb747d80292a4d238130f55683..3ccd5879eb00a5f5b397510b97b8e8e60e797cae 100644 --- a/dnf.spec +++ b/dnf.spec @@ -3,8 +3,8 @@ %global relate_libdnf_version 0.66.0 Name: dnf -Version: 4.16.2 -Release: 11 +Version: 4.17.0 +Release: 2 Summary: A software package manager that manages packages on Linux distributions. License: GPL-2.0-or-later AND GPL-1.0-only URL: https://github.com/rpm-software-management/dnf @@ -12,7 +12,6 @@ Source0: https://github.com/rpm-software-management/dnf/archive/%{v Patch6000: dnf-4.10.0-sw.patch Patch6001: 0001-Add-loongarch-architecture-support.patch -Patch6002: backport-Fix-bash-completion-due-to-sqlite-changes.patch Patch6003: backport-remove-duplicates-when-no-duplicates-exit-with-0.patch Patch6004: backport-remove-oldinstallonly-when-no-old-installonly-packages-exit-with-0.patch Patch6005: backport-Add-all-candidates-for-reinstall-to-solver.patch @@ -20,7 +19,6 @@ Patch6006: backport-Limit-queries-to-nevra-forms-when-provided-by-com Patch6007: backport-doc-Remove-provide-of-spec-definition-for-repoquery-command.patch Patch6008: backport-Update-the-man-page-entry-for-the-countme-option.patch Patch6009: backport-Allow-local-downloads-to-same-downloaddir.patch -Patch6010: backport-Revert-Unprotect-dnf-and-yum-protect-python3-dnf.patch Patch9001: bugfix-automatic-Use-add_security_filters-not-_update_secur.patch Patch9002: add-rpm-transaction-debuginfo.patch @@ -251,6 +249,9 @@ export TERM=linux %{_mandir}/man8/%{name}-automatic.8* %changelog +* Thu Nov 20 2025 yangxiaodong - 4.17.0-2 +- update version to 4.17.0 + * Tue Sep 16 2025 hanhuihui - 4.16.2-11 - DESC:Revert "Unprotect dnf and yum, protect python3-dnf"