spec: Allow building on any platform 66/1666/1 master
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 27 Sep 2019 20:11:58 +0000 (22:11 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 27 Sep 2019 20:14:36 +0000 (22:14 +0200)
Change hardcoded x86_64 build architecture to current platform arch.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I63f80517741b6222012e3dc59b45a5959b64b78d

rpmbuild.spec

index bc1568b..ee48aa2 100644 (file)
@@ -25,7 +25,7 @@ Version:        %{RPM_MAJOR_VERSION}
 Release:        %{RPM_MINOR_VERSION}%{?dist}
 Summary:        Containers as a Service Life Cycle Managemnet workflows
 License:        %{_platform_license}
-BuildArch:      x86_64
+BuildArch:      %{_arch}
 Vendor:         %{_platform_vendor}
 Source0:        %{name}-%{version}.tar.gz