Sync release from 20.03-LTS-SP3

This commit is contained in:
wk333 2023-02-14 17:20:06 +08:00
parent 41f93b28e8
commit 4367ecaba2
2 changed files with 40 additions and 4 deletions

28
fix-help-info-error.patch Normal file
View File

@ -0,0 +1,28 @@
From e5987111a8fc89ed86e43ab81e0805d958c61b2c Mon Sep 17 00:00:00 2001
From: yangchenguang <yangchenguang@uniontech.com>
Date: Thu, 19 Jan 2023 13:27:29 +0800
Subject: [PATCH] fix help info error
Signed-off-by: yangchenguang <yangchenguang@uniontech.com>
---
asm/nasm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/asm/nasm.c b/asm/nasm.c
index e5ae89a..e00408b 100644
--- a/asm/nasm.c
+++ b/asm/nasm.c
@@ -2293,8 +2293,8 @@ static void help(FILE *out)
"\n"
" --prefix str prepend the given string to the names of all extern,\n"
" common and global symbols (also --gprefix)\n"
- " --suffix str append the given string to the names of all extern,\n"
- " common and global symbols (also --gprefix)\n"
+ " --postfix str append the given string to the names of all extern,\n"
+ " common and global symbols (also --gpostfix)\n"
" --lprefix str prepend the given string to local symbols\n"
" --lpostfix str append the given string to local symbols\n"
"\n"
--
2.20.1

View File

@ -8,7 +8,7 @@
Name: nasm
Version: 2.15.03
Release: 3
Release: 5
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
License: BSD
URL: http://www.nasm.us
@ -19,12 +19,13 @@ Patch6000: backport-CVE-2019-20352.patch
Patch6001: backport-CVE-2020-24241-1.patch
Patch6002: backport-CVE-2020-24241-2.patch
Patch6003: enable-make-check.patch
Patch6004: fix-help-info-error.patch
#https://bugzilla.nasm.us/attachment.cgi?id=411648
BuildRequires: perl(Env) autoconf asciidoc xmlto gcc make git
Provides: %{name}-rdoff
Obsoletes: %{name}-rdoff
Obsoletes: %{name}-rdoff < %{version}-%{release}
%description
NASM is the Netwide Assembler, a free portable assembler for the Intel
@ -40,7 +41,7 @@ BuildRequires: perl(Sort::Versions)
BuildRequires: adobe-source-sans-pro-fonts adobe-source-code-pro-fonts
BuildRequires: ghostscript
Provides: %{name}-doc
Obsoletes: %{name}-doc
Obsoletes: %{name}-doc < %{version}-%{release}
%endif
BuildArch: noarch
@ -92,10 +93,17 @@ make test
%{_mandir}/man1/ld*
%changelog
* Thu Jan 19 2023 yangchenguang <yangchenguang@uniontech.com> - 2.15.03-5
- Fix help info error
* Sat Oct 22 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.15.03-4
- add version number for Obsoletes
- fix bogus date in changelog
* Sat Nov 27 2021 ExtinctFire <shenyining_00@126.com> - 2.15.03-3
- enable make check
* Thu Jan 07 2020 shixuantong <shixuantong@huawei.com> - 2.15.03-2
* Thu Jan 07 2021 shixuantong <shixuantong@huawei.com> - 2.15.03-2
- fix CVE-2019-20352 CVE-2020-24241
* Thu Jul 23 2020 shixuantong <shixuantong@huawei.com> - 2.15.03-1