Fix dnf upgrade-minimal documentation in dnf(8) manual

Resolves: RHEL-39892
This commit is contained in:
Petr Písař 2024-06-12 14:48:46 +02:00
parent 8b41c667f5
commit c4f1af097e
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
From 4a2b425d3f0b7ea95f9584834e86a15ad3c447ab Mon Sep 17 00:00:00 2001
From: Jan Kolarik <jkolarik@redhat.com>
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ř <ppisar@redhat.com>
---
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 <package-spec>...``
- 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

View File

@ -74,6 +74,7 @@ Summary: %{pkg_summary}
License: GPL-2.0-or-later AND GPL-1.0-only License: GPL-2.0-or-later AND GPL-1.0-only
URL: https://github.com/rpm-software-management/dnf URL: https://github.com/rpm-software-management/dnf
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gettext BuildRequires: gettext
@ -418,6 +419,7 @@ popd
%changelog %changelog
* Wed Jun 12 2024 Petr Pisar <ppisar@redhat.com> - 4.20.0-2 * Wed Jun 12 2024 Petr Pisar <ppisar@redhat.com> - 4.20.0-2
- Disable downloading filelists by default (RHEL-12355) - Disable downloading filelists by default (RHEL-12355)
- Fix dnf upgrade-minimal documentation in dnf(8) manual (RHEL-39892)
* Wed Apr 24 2024 Jan Kolarik <jkolarik@redhat.com> - 4.20.0-1 * Wed Apr 24 2024 Jan Kolarik <jkolarik@redhat.com> - 4.20.0-1
- Update to 4.20.0 (RHEL-38831) - Update to 4.20.0 (RHEL-38831)