From 634a6607ca6265fdd24bed205130424bc863dc4e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 Aug 2003 20:48:37 +0000 Subject: [PATCH] %{_arch} doesn't work with newer RPMs; use %{_target_cpu} instead --- nasm.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4