diff options
author | H. Peter Anvin <hpa@zytor.com> | 2003-08-29 20:48:37 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2003-08-29 20:48:37 +0000 |
commit | 634a6607ca6265fdd24bed205130424bc863dc4e (patch) | |
tree | 45132168c52c8d362a3d539fcca2719401f795a5 /nasm.spec.in | |
parent | 3728b63c748139a6fe58c6849e4247c28b4704d0 (diff) | |
download | nasm-634a6607ca6265fdd24bed205130424bc863dc4e.tar.gz nasm-634a6607ca6265fdd24bed205130424bc863dc4e.tar.bz2 nasm-634a6607ca6265fdd24bed205130424bc863dc4e.zip |
%{_arch} doesn't work with newer RPMs; use %{_target_cpu} instead
Diffstat (limited to 'nasm.spec.in')
-rw-r--r-- | nasm.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.spec.in b/nasm.spec.in index 76ea4b3..2fc2a87 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 |