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

Resolves: RHEL-6417
This commit is contained in:
Petr Písař 2024-06-03 16:29:12 +02:00
parent 4770a44a00
commit 8cc88f747d
2 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,40 @@
From 103d442551bfa11a2dae72fd31941ba1d5435bb6 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
Upstream commit: 4a2b425d3f0b7ea95f9584834e86a15ad3c447ab
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 c419e7ed..42dd6e8a 100644
--- a/doc/command_ref.rst
+++ b/doc/command_ref.rst
@@ -1761,11 +1761,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

@ -69,7 +69,7 @@ It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.14.0
Release: 13%{?dist}
Release: 14%{?dist}
Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPLv2+
@ -99,6 +99,7 @@ Patch21: 0021-remove-duplicates-when-no-duplicates-exit-with-0-RHE.patch
Patch22: 0022-remove-oldinstallonly-when-no-old-installonly-packag.patch
Patch23: 0023-Limit-queries-to-nevra-forms-when-provided-by-comman.patch
Patch24: 0024-doc-Remove-provide-of-spec-definition-for-repoquery-.patch
Patch25: 0025-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch
BuildArch: noarch
BuildRequires: cmake
@ -387,6 +388,9 @@ popd
%{python3_sitelib}/%{name}/automatic/
%changelog
* Mon Jun 03 2024 Petr Pisar <ppisar@redhat.com> - 4.14.0-14
- Fix dnf upgrade-minimal documentation in dnf(8) manual (RHEL-6417)
* Thu May 23 2024 Petr Pisar <ppisar@redhat.com> - 4.14.0-13
- Fix dnf remove-n, install-n, and autoremove-n commands to only match package
names (RHEL-38470)