From 35d878af25452367230ca42492f5e82c230cb07c Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 27 Sep 2019 22:25:48 +0200 Subject: [PATCH] spec: Allow building on any platform Change hardcoded x86_64 build architecture to current platform arch. Signed-off-by: Alexandru Avadanii Change-Id: I278bed8f78ca7cf023518a64a67ba09470fe9beb --- rpmbuild.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmbuild.spec b/rpmbuild.spec index 8a0116e..937eef3 100644 --- a/rpmbuild.spec +++ b/rpmbuild.spec @@ -22,7 +22,7 @@ Version: %{RPM_MAJOR_VERSION} Release: %{RPM_MINOR_VERSION}%{?dist} Summary: Containers as a Service security related playbooks + manifests License: %{_platform_license} -BuildArch: x86_64 +BuildArch: %{_arch} Vendor: %{_platform_vendor} Source0: %{name}-%{version}.tar.gz -- 2.16.6