aboutsummaryrefslogtreecommitdiffstats
path: root/nasm.spec.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-08-29 20:48:37 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-08-29 20:48:37 +0000
commit634a6607ca6265fdd24bed205130424bc863dc4e (patch)
tree45132168c52c8d362a3d539fcca2719401f795a5 /nasm.spec.in
parent3728b63c748139a6fe58c6849e4247c28b4704d0 (diff)
downloadnasm-daily-634a6607ca6265fdd24bed205130424bc863dc4e.tar.gz
nasm-daily-634a6607ca6265fdd24bed205130424bc863dc4e.tar.xz
nasm-daily-634a6607ca6265fdd24bed205130424bc863dc4e.zip
%{_arch} doesn't work with newer RPMs; use %{_target_cpu} instead
Diffstat (limited to 'nasm.spec.in')
-rw-r--r--nasm.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.spec.in b/nasm.spec.in
index 76ea4b33..2fc2a873 100644
--- a/nasm.spec.in
+++ b/nasm.spec.in
@@ -10,7 +10,7 @@ URL: http://nasm.sourceforge.net/
BuildRoot: /tmp/rpm-build-nasm
Prefix: /usr
BuildPrereq: perl
-BuildArchitectures: noarch %{_arch}
+BuildArchitectures: %{_target_cpu} noarch
# This is necessary on newer RPM due to the arch/noarch issue
%define _unpackaged_files_terminate_build 0