mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
Make RPM itself cycle through the necessary "architectures" to produce
the doc package as noarch and the rest as the default arch.
This commit is contained in:
parent
6eec6f4590
commit
97f0a2bf6b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user