!23 [sync] PR-21: fix spelling errors that could mislead users

From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2022-11-08 09:11:39 +00:00 committed by Gitee
commit d15179801e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,39 @@
From 66600caf035017a179ddcc3bfebfc3f9887f3a79 Mon Sep 17 00:00:00 2001
From: xujing <xujing125@huawei.com>
Date: Tue, 8 Nov 2022 10:49:20 +0800
Subject: [PATCH] fix spelling errors that could mislead users
---
plugins/un_prelink.sh | 2 +-
rpmrebuild_parser.src | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/un_prelink.sh b/plugins/un_prelink.sh
index 56a4350..f115b43 100755
--- a/plugins/un_prelink.sh
+++ b/plugins/un_prelink.sh
@@ -60,7 +60,7 @@ fi
case $LONG_OPTION in
change-files)
;;
- *) msg "should be called from LONG_OPTION=change-file";
+ *) msg "should be called from LONG_OPTION=change-files";
syntaxe
;;
esac
diff --git a/rpmrebuild_parser.src b/rpmrebuild_parser.src
index eff950b..2f400ac 100755
--- a/rpmrebuild_parser.src
+++ b/rpmrebuild_parser.src
@@ -31,7 +31,7 @@ options:
-D, --define=<define> $UsageDefine
-e, --edit-spec $UsageEditSpec
-f, --filter=<command> $UsageFilter
- -i, --includes=<file> $UsageInclude
+ -i, --include=<file> $UsageInclude
-I, --install $UsageInstall
-k, --keep-perm $UsageKeepPerm
--pug-from-fs $UsagePugFs
--
2.27.0

View File

@ -1,6 +1,6 @@
Name: rpmrebuild Name: rpmrebuild
Version: 2.16 Version: 2.16
Release: 4 Release: 5
Summary: A tool to build a rpm file from the rpm database Summary: A tool to build a rpm file from the rpm database
License: GPLv2+ License: GPLv2+
URL: http://rpmrebuild.sourceforge.net URL: http://rpmrebuild.sourceforge.net
@ -9,6 +9,7 @@ Source0: https://downloads.sourceforge.net/rpmrebuild/%{name}-%{version}.
Patch9000: bugfix-reset-defattr-when-users-want-to-keep-files-permissi.patch Patch9000: bugfix-reset-defattr-when-users-want-to-keep-files-permissi.patch
Patch9001: openEuler-fix-the-CreateBuildRoot-error-when-using-rpmrebuild-command.patch Patch9001: openEuler-fix-the-CreateBuildRoot-error-when-using-rpmrebuild-command.patch
Patch9002: fix-k-may-not-keep-uid-or-gid.patch Patch9002: fix-k-may-not-keep-uid-or-gid.patch
Patch9003: fix-spelling-errors-that-could-mislead-users.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
@ -60,6 +61,12 @@ rm -rf $RPM_BUILD_ROOT%{_mandir}/fr_FR.UTF-8/man1/
%{_mandir}/fr/man1/*.gz %{_mandir}/fr/man1/*.gz
%changelog %changelog
* Tue Nov 8 2022 xujing <xujing125@huawei.com> - 2.16-5
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix spelling errors that could mislead users
* Tue Oct 18 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.16-4 * Tue Oct 18 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.16-4
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA