[nasm:master] nasm.spec.in: fix mistakes in previous checkin

nasm-bot for H. Peter Anvin hpa at zytor.com
Thu Apr 18 15:33:07 PDT 2024


Commit-ID:  2553833cc18ed3463ed9458299f22d57828aed12
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=2553833cc18ed3463ed9458299f22d57828aed12
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Thu, 18 Apr 2024 15:31:51 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Thu, 18 Apr 2024 15:31:51 -0700

nasm.spec.in: fix mistakes in previous checkin

Fix small mistakes in previous nasm.spec.in patch.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 nasm.spec.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nasm.spec.in b/nasm.spec.in
index 4bb2e5c6..97f7bc0c 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -17,8 +17,9 @@ BuildRequires: xmlto
 BuildRequires: perl
 BuildRequires: gcc
 BuildRequires: make
+BuildRequires: xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Obsoletes: nasm-rdoff
+Obsoletes: %{name}-rdoff
 
 %package doc
 Summary: Detailed manual for the Netwide Assembler
@@ -27,8 +28,7 @@ BuildRequires: ghostscript
 BuildRequires: fontconfig
 BuildRequires: adobe-source-sans-pro-fonts
 BuildRequires: adobe-source-code-pro-fonts
-BuildRequires: xz
-Obsoletes: %{nasm}-doc < %{version}-%{release}
+Obsoletes: %{name}-doc < %{version}-%{release}
 
 %description
 NASM is the Netwide Assembler, a free portable assembler for the Intel


More information about the Nasm-commits mailing list