the doc package as noarch and the rest as the default arch.
-#
-# 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@@
BuildRoot: /tmp/rpm-build-nasm
Prefix: /usr
BuildPrereq: perl
+BuildArchitectures: noarch %{_arch}
%package doc
Summary: Extensive documentation for NASM