spec: Allow building on any platform
[ta/caas-lcm.git] / rpmbuild.spec
index 59f04b5..ee48aa2 100644 (file)
@@ -15,7 +15,7 @@
 %define COMPONENT lcm
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 1.0.0
-%define RPM_MINOR_VERSION 7
+%define RPM_MINOR_VERSION 9
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 %define DEPLOY_PATH %{_caas_lcm_path}/deploy
 %define SU_PATH %{_caas_lcm_path}/su
@@ -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