diff --git a/correct-the-help-information.patch b/correct-the-help-information.patch new file mode 100644 index 0000000000000000000000000000000000000000..f7220f324f71a96fa3af2655f3908a2edccaf7ad --- /dev/null +++ b/correct-the-help-information.patch @@ -0,0 +1,88 @@ +From 7af22e2e8a2d8ee775e56c0cad5dc4426d4951a2 Mon Sep 17 00:00:00 2001 +From: caodongxia <315816521@qq.com> +Date: Sat, 18 Sep 2021 11:08:02 +0800 +Subject: [PATCH] correct the help information + +--- + src/tools/pevent/help-pevent.txt | 6 +++--- + src/tools/plookup/help-plookup.txt | 6 +++--- + src/tools/pps/help-pps.txt | 6 +++--- + src/util/cmd_line.c | 5 ----- + 4 files changed, 9 insertions(+), 14 deletions(-) + +diff --git a/src/tools/pevent/help-pevent.txt b/src/tools/pevent/help-pevent.txt +index fabeafe..a7c0e18 100644 +--- a/src/tools/pevent/help-pevent.txt ++++ b/src/tools/pevent/help-pevent.txt +@@ -18,11 +18,11 @@ + # + # $HEADER$ + # +-# This is the US/English help file for Open MPI PS tool ++# This is the US/English help file for OpenPMIx event tool + # + [usage] +-ompi-ps [OPTIONS] +- Open MPI Job and Process Status Tool ++pevent [OPTIONS] ++ OpenPMIx event generation tool + + %s + # +diff --git a/src/tools/plookup/help-plookup.txt b/src/tools/plookup/help-plookup.txt +index fabeafe..0bf2176 100644 +--- a/src/tools/plookup/help-plookup.txt ++++ b/src/tools/plookup/help-plookup.txt +@@ -18,11 +18,11 @@ + # + # $HEADER$ + # +-# This is the US/English help file for Open MPI PS tool ++# This is the US/English help file for OpenPMIx lookup tool + # + [usage] +-ompi-ps [OPTIONS] +- Open MPI Job and Process Status Tool ++plookup [OPTIONS] [KEYS] ++ OpenPMIx lookup tool + + %s + # +diff --git a/src/tools/pps/help-pps.txt b/src/tools/pps/help-pps.txt +index fabeafe..97c8a3b 100644 +--- a/src/tools/pps/help-pps.txt ++++ b/src/tools/pps/help-pps.txt +@@ -18,11 +18,11 @@ + # + # $HEADER$ + # +-# This is the US/English help file for Open MPI PS tool ++# This is the US/English help file for OpenPMIx PS tool + # + [usage] +-ompi-ps [OPTIONS] +- Open MPI Job and Process Status Tool ++pps [OPTIONS] ++ OpenPMIx Job and Process Status Tool + + %s + # +diff --git a/src/util/cmd_line.c b/src/util/cmd_line.c +index 15a2b61..e0a08f2 100644 +--- a/src/util/cmd_line.c ++++ b/src/util/cmd_line.c +@@ -726,11 +726,6 @@ char *pmix_cmd_line_get_usage_msg(pmix_cmd_line_t *cmd) + } + } + } +- if(otype == PMIX_CMD_LINE_OTYPE_NULL || otype == PMIX_CMD_LINE_OTYPE_GENERAL) { +- char *argument_line = "\nFor additional mpirun arguments, run 'mpirun --help '\n\nThe following categories exist: general (Defaults to this option), debug,\n output, input, mapping, ranking, binding, devel (arguments useful to PMIX\n Developers), compatibility (arguments supported for backwards compatibility),\n launch (arguments to modify launch options), and dvm (Distributed Virtual\n Machine arguments)."; +- +- pmix_argv_append(&argc, &argv, argument_line); +- } + if (NULL != argv) { + ret = pmix_argv_join(argv, '\n'); + pmix_argv_free(argv); +-- +2.27.0 + diff --git a/pmix.spec b/pmix.spec index 0719909616eda64e2c1706b9621c209d131e7f9e..0401ef1e4815ae6afb1b06265d97e88d60f7e76a 100644 --- a/pmix.spec +++ b/pmix.spec @@ -1,10 +1,11 @@ Name: pmix Version: 3.1.4 -Release: 2 +Release: 3 Summary: Process Management Interface Exascale (PMIx) License: BSD URL: https://pmix.org Source0: https://github.com/openpmix/openpmix/releases/download/v%{version}/pmix-%{version}.tar.bz2 +Patch0000: correct-the-help-information.patch BuildRequires: autoconf automake flex hwloc-devel libevent-devel libtool munge-devel perl-interpreter %description @@ -38,7 +39,7 @@ Requires: pmix = %{version}-%{release} Contains for use with PMIx-based RMs and language-based starters (e.g., mpirun). %prep -%autosetup -n pmix-%{version} +%autosetup -n pmix-%{version} -p1 find src -name \*.l -print -exec touch --no-create {} \; %build @@ -85,5 +86,8 @@ find src -name \*.l -print -exec touch --no-create {} \; %{_bindir}/* %changelog +* Sat Sep 18 2021 caodongxia - 3.1.4-3 +- Correct the help information + * Wed Mar 4 2020 Ling Yang - 3.1.4-2 - Package Init