rpmrebuild: fix spelling errors that could mislead users
(cherry picked from commit f0a0e81aa5de1705b3bcf47f38e10e80afb11bf1)
This commit is contained in:
parent
8ea9d3553b
commit
dd56b00388
39
fix-spelling-errors-that-could-mislead-users.patch
Normal file
39
fix-spelling-errors-that-could-mislead-users.patch
Normal 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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: rpmrebuild
|
||||
Version: 2.16
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: A tool to build a rpm file from the rpm database
|
||||
License: GPLv2+
|
||||
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
|
||||
Patch9001: openEuler-fix-the-CreateBuildRoot-error-when-using-rpmrebuild-command.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)
|
||||
BuildArch: noarch
|
||||
@ -60,6 +61,12 @@ rm -rf $RPM_BUILD_ROOT%{_mandir}/fr_FR.UTF-8/man1/
|
||||
%{_mandir}/fr/man1/*.gz
|
||||
|
||||
%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
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user