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

(cherry picked from commit 0433fed01650b15d5d7066951687a8e88cf81341)
This commit is contained in:
renxichen 2023-06-13 17:05:19 +08:00 committed by openeuler-sync-bot
parent 35743ef2f1
commit afd7770ecb
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.17.0
Release: 24
Release: 25
Summary: RPM Package Manager
License: GPLv2+
URL: http://www.rpm.org/
@ -105,6 +105,7 @@ Patch6067: backport-Use-fd-based-ops-for-metadata-in-FA_TOUCH-mode-too-w.patch
Patch6068: backport-Add-a-test-for-special-device-node-installation.patch
Patch6069: backport-support-for-POSIX-getopt-behaviour.patch
Patch6070: backport-Use-proper-type-for-copyTagsFromMainDebug.patch
Patch6071: backport-Fix-a-copy-paste-help-description-of-whatconflicts-R.patch
BuildRequires: gcc autoconf automake libtool make gawk popt-devel openssl-devel readline-devel
BuildRequires: zlib-devel zstd-devel >= 1.3.8 xz-devel bzip2-devel libarchive-devel ima-evm-utils-devel
@ -379,6 +380,9 @@ make check || (cat tests/rpmtests.log; exit 0)
%{_mandir}/man1/gendiff.1*
%changelog
* Tue Jun 13 2023 renhongxun<renhongxun@h-partners.com> - 4.17.0-25
- Fix a copy-paste --help description of --whatconflicts
* Tue Feb 28 2023 renhongxun<renhongxun@h-partners.com> - 4.17.0-24
- bugfix with upstream patches about fifo