spec: Allow building on any platform 67/1667/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 27 Sep 2019 20:16:40 +0000 (22:16 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 27 Sep 2019 20:17:32 +0000 (22:17 +0200)
Change hardcoded x86_64 build architecture to current platform arch.

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

caas-etcd.spec

index 73cfc45..5a68a36 100644 (file)
@@ -27,7 +27,7 @@ Release:        %{RPM_MINOR_VERSION}%{?dist}
 Summary:        Containers as a Service %{COMPONENT} component
 License:        %{_platform_license} and MIT license and BSD and Apache License and Lesser General Public License
 URL:            https://github.com/etcd-io/etcd
-BuildArch:      x86_64
+BuildArch:      %{_arch}
 Vendor:         %{_platform_vendor} and etcd-io/etcd unmodified
 Source0:        %{name}-%{version}.tar.gz