From: H. Peter Anvin Date: Mon, 6 May 2002 07:07:25 +0000 (+0000) Subject: Make RPM itself cycle through the necessary "architectures" to produce X-Git-Tag: nasm-2.11.05~2471 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97f0a2bf6b5dca59e3055e6533d1f3d2a97b15ce;p=platform%2Fupstream%2Fnasm.git Make RPM itself cycle through the necessary "architectures" to produce the doc package as noarch and the rest as the default arch. --- diff --git a/nasm.spec.in b/nasm.spec.in index 0775001..d0fe6ec 100644 --- a/nasm.spec.in +++ b/nasm.spec.in @@ -1,8 +1,3 @@ -# -# This RPM file should be built twice: once normally, to build the -# nasm and nasm-rdoff packages, and once with --target=noarch to build -# the nasm-doc RPM. -# Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax Name: nasm Version: @@VERSION@@ @@ -14,6 +9,7 @@ URL: http://nasm.2y.net/ BuildRoot: /tmp/rpm-build-nasm Prefix: /usr BuildPrereq: perl +BuildArchitectures: noarch %{_arch} %package doc Summary: Extensive documentation for NASM