Fix a copy-paste --help description of --whatconflicts

This commit is contained in:
renxichen 2023-06-13 17:13:34 +08:00
parent 1526918d5d
commit a82ea89a44
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 03525592c944957f3b7b200b7daeb9f615cdcde7 Mon Sep 17 00:00:00 2001
From: Panu Matilainen <pmatilai@redhat.com>
Date: Tue, 23 May 2023 12:46:22 +0300
Subject: [PATCH] Fix a copy-paste --help description of --whatconflicts
(RhBug:2208661)
---
lib/poptQV.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/poptQV.c b/lib/poptQV.c
index ac8e8975d..8bd91c652 100644
--- a/lib/poptQV.c
+++ b/lib/poptQV.c
@@ -108,7 +108,7 @@ struct poptOption rpmQVSourcePoptTable[] = {
{ "verify", 'V', POPT_ARGFLAG_DOC_HIDDEN, NULL, 'V',
N_("rpm verify mode"), NULL },
{ "whatconflicts", '\0', 0, 0, POPT_WHATCONFLICTS,
- N_("query/verify the package(s) which require a dependency"), "CAPABILITY" },
+ N_("query/verify the package(s) which conflict with a dependency"), "CAPABILITY" },
{ "whatrequires", '\0', 0, 0, POPT_WHATREQUIRES,
N_("query/verify the package(s) which require a dependency"), "CAPABILITY" },
{ "whatobsoletes", '\0', 0, 0, POPT_WHATOBSOLETES,
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: rpm
Version: 4.15.1
Release: 49
Release: 50
Summary: RPM Package Manager
License: GPLv2+
URL: http://www.rpm.org/
@ -202,6 +202,7 @@ Patch181: backport-Fix-install-of-block-and-character-special-files-219.patch
Patch182: backport-Use-fd-based-ops-for-metadata-in-FA_TOUCH-mode-too-w.patch
Patch183: backport-Add-a-test-for-special-device-node-installation.patch
Patch184: backport-Use-proper-type-for-copyTagsFromMainDebug.patch
Patch185: backport-Fix-a-copy-paste-help-description-of-whatconflicts-R.patch
BuildRequires: gcc autoconf automake libtool make gawk popt-devel openssl-devel readline-devel libdb-devel
BuildRequires: zlib-devel libzstd-devel xz-devel bzip2-devel libarchive-devel ima-evm-utils-devel
@ -485,6 +486,9 @@ make check || (cat tests/rpmtests.log; exit 0)
%{_mandir}/man1/gendiff.1*
%changelog
* Tue Jun 13 2023 renhongxun<renhongxun@h-partners.com> - 4.15.1-50
- Fix a copy-paste --help description of --whatconflicts
* Fri Apr 14 2023 renhongxun<renhongxun@h-partners.com> - 4.15.1-49
- backport some patches from upstream