%{_arch} doesn't work with newer RPMs; use %{_target_cpu} instead

This commit is contained in:
H. Peter Anvin 2003-08-29 20:48:37 +00:00
parent 3728b63c74
commit 634a6607ca

View File

@ -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