X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-helm.git;a=blobdiff_plain;f=SPECS%2Fcaas-helm.spec;h=b68aa28db22c999460d3ced2121530bb2ac4396c;hp=ae9dcb6065311cca6433d9bd4f05077efd283c89;hb=14c3d7f410dc71ce5b6c8947c72b7c52b1f9e042;hpb=1bf60aa38b0c1f5612447e7be1722aabd2d683ab diff --git a/SPECS/caas-helm.spec b/SPECS/caas-helm.spec index ae9dcb6..b68aa28 100644 --- a/SPECS/caas-helm.spec +++ b/SPECS/caas-helm.spec @@ -22,18 +22,19 @@ %define docker_build_dir %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build %define docker_save_dir %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-save %define built_binaries_dir /binary-save +%define centos_build 191001 Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} Release: %{RPM_MINOR_VERSION}%{?dist} Summary: Containers as a Service %{COMPONENT} component License: %{_platform_licence} and MIT license and BSD and Apache License and Lesser General Public License -BuildArch: x86_64 +BuildArch: %{_arch} Vendor: %{_platform_vendor} and helm/helm unmodified Source0: %{name}-%{version}.tar.gz Requires: docker-ce >= 18.09.2, rsync -BuildRequires: docker-ce-cli >= 18.09.2, rsync, xz +BuildRequires: docker-ce-cli >= 18.09.2, rsync, xz, wget %description This rpm contains the %{COMPONENT} container for CaaS subsystem. @@ -43,6 +44,7 @@ This container contains the %{COMPONENT} service. %autosetup %build +wget --progress=dot:giga http://artifacts.ci.centos.org/sig-cloudinstance/centos-7-%{centos_build}/%{_arch}/centos-7-%{_arch}-docker.tar.xz -O %{docker_build_dir}/helm-builder/centos-7-docker.tar.xz # Build Helm binaries docker build \ --network=host \