changeset 19:ef0807d0e202

Set RPM_ARCH to value of rpm %{_arch} macro.
author Thomas Fitzsimmons <fitzsim@redhat.com>
date Thu, 12 Jul 2007 17:54:01 -0400
parents 2b21740cbeec
children 9df467ff243f
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jul 12 17:00:04 2007 -0400
+++ b/Makefile	Thu Jul 12 17:54:01 2007 -0400
@@ -57,7 +57,7 @@
 RPM_BUILD_DIR ?= $(BUILDDIR)/$(NAME)-$(VERSION)
 
 ARCH = $(shell uname -m | sed 's/i.86/i586/')
-RPM_ARCH = $(shell uname -m | sed 's/i.86/i386/')
+RPM_ARCH = $(shell rpm --eval "%{_arch}")
 
 all: sources $(ARCH)