!32 [sync] PR-30: fix -r does not work
From: @openeuler-sync-bot Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
d99031714f
25
fix-r-does-not-work.patch
Normal file
25
fix-r-does-not-work.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 5fb7daedd8ee3651f74382295e2983d5ca4707ff Mon Sep 17 00:00:00 2001
|
||||
From: xujing <xujing125@huawei.com>
|
||||
Date: Tue, 8 Nov 2022 10:53:03 +0800
|
||||
Subject: [PATCH] fix -r does not work
|
||||
|
||||
---
|
||||
rpmrebuild_parser.src | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/rpmrebuild_parser.src b/rpmrebuild_parser.src
|
||||
index 1b1b8be..e244a8d 100755
|
||||
--- a/rpmrebuild_parser.src
|
||||
+++ b/rpmrebuild_parser.src
|
||||
@@ -1243,7 +1243,7 @@ function CommandLineParsing
|
||||
|
||||
export LONG_OPTION
|
||||
|
||||
- while getopts "5a:bc:d:D:ef:hi:Iklm:npPRrs:vVwy:-:" opt; do
|
||||
+ while getopts "5a:bc:d:D:ef:hi:Iklm:npPRr:s:vVwy:-:" opt; do
|
||||
OPTIND_INCR=""
|
||||
case "$opt" in
|
||||
5) LONG_OPTION="md5-compat-digest";;
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: rpmrebuild
|
||||
Version: 2.16
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: A tool to build a rpm file from the rpm database
|
||||
License: GPLv2+
|
||||
URL: http://rpmrebuild.sourceforge.net
|
||||
@ -12,6 +12,7 @@ Patch9002: fix-k-may-not-keep-uid-or-gid.patch
|
||||
Patch9003: fix-spelling-errors-that-could-mislead-users.patch
|
||||
Patch9004: fix-cap-from-fs-does-not-work.patch
|
||||
Patch9005: fix-comment-missing-n-does-not-work.patch
|
||||
Patch9006: fix-r-does-not-work.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
@ -63,6 +64,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-8
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:fix -r does not work
|
||||
|
||||
* Tue Nov 8 2022 xujing <xujing125@huawei.com> - 2.16-7
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user