aboutsummaryrefslogtreecommitdiffstats
path: root/nasm.spec.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-06 07:07:25 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-06 07:07:25 +0000
commit97f0a2bf6b5dca59e3055e6533d1f3d2a97b15ce (patch)
tree8174a1b7769c90fc12abc70d7e988c2d0609407b /nasm.spec.in
parent6eec6f4590c24c0f4eb0cd66db819873efc2aae6 (diff)
downloadnasm-daily-97f0a2bf6b5dca59e3055e6533d1f3d2a97b15ce.tar.gz
nasm-daily-97f0a2bf6b5dca59e3055e6533d1f3d2a97b15ce.tar.xz
nasm-daily-97f0a2bf6b5dca59e3055e6533d1f3d2a97b15ce.zip
Make RPM itself cycle through the necessary "architectures" to produce
the doc package as noarch and the rest as the default arch.
Diffstat (limited to 'nasm.spec.in')
-rw-r--r--nasm.spec.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/nasm.spec.in b/nasm.spec.in
index 07750018..d0fe6ec9 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