From c4f1af097e898c292ad8c3524891e3a50de01a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 12 Jun 2024 14:48:46 +0200 Subject: [PATCH] Fix dnf upgrade-minimal documentation in dnf(8) manual Resolves: RHEL-39892 --- ...grade-minimal-command-docs-RHEL-6417.patch | 38 +++++++++++++++++++ dnf.spec | 2 + 2 files changed, 40 insertions(+) create mode 100644 0001-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch diff --git a/0001-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch b/0001-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch new file mode 100644 index 0000000..d1744bb --- /dev/null +++ b/0001-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch @@ -0,0 +1,38 @@ +From 4a2b425d3f0b7ea95f9584834e86a15ad3c447ab Mon Sep 17 00:00:00 2001 +From: Jan Kolarik +Date: Tue, 30 Apr 2024 06:50:14 +0000 +Subject: [PATCH] man: Improve upgrade-minimal command docs (RHEL-6417) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Making the man pages for the `upgrade-minimal` command clearer about how packages with advisories are upgraded. + +Resolves: https://issues.redhat.com/browse/RHEL-6417 +Signed-off-by: Petr Písař +--- + doc/command_ref.rst | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/doc/command_ref.rst b/doc/command_ref.rst +index 71917f75..25431ca1 100644 +--- a/doc/command_ref.rst ++++ b/doc/command_ref.rst +@@ -1759,11 +1759,11 @@ Upgrade-Minimal Command + | Deprecated aliases: ``update-minimal`` + + ``dnf [options] upgrade-minimal`` +- Updates each package to the latest available version that provides a bugfix, enhancement +- or a fix for a security issue (security). ++ Updates each package to the nearest available version that provides ++ a bugfix, enhancement or a fix for a security issue (security). + + ``dnf [options] upgrade-minimal ...`` +- Updates each specified package to the latest available version that provides ++ Updates each specified package to the nearest available version that provides + a bugfix, enhancement or a fix for security issue (security). Updates + dependencies as necessary. + +-- +2.45.2 + diff --git a/dnf.spec b/dnf.spec index fcd7137..b0ec8a4 100644 --- a/dnf.spec +++ b/dnf.spec @@ -74,6 +74,7 @@ Summary: %{pkg_summary} License: GPL-2.0-or-later AND GPL-1.0-only URL: https://github.com/rpm-software-management/dnf Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch BuildArch: noarch BuildRequires: cmake BuildRequires: gettext @@ -418,6 +419,7 @@ popd %changelog * Wed Jun 12 2024 Petr Pisar - 4.20.0-2 - Disable downloading filelists by default (RHEL-12355) +- Fix dnf upgrade-minimal documentation in dnf(8) manual (RHEL-39892) * Wed Apr 24 2024 Jan Kolarik - 4.20.0-1 - Update to 4.20.0 (RHEL-38831)