X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=caas-etcd.spec;h=9c6cf3b6299d86cdf39cfb1ed8612ebf1427295d;hb=4583c000ef52d9709a2ba6a7efcb02db36378c5d;hp=cdffd042af3abcc5098f784ecf5bd7d2f94675d7;hpb=4598260480dcbcef742d2482fdef9b1f6afd563d;p=ta%2Fcaas-etcd.git diff --git a/caas-etcd.spec b/caas-etcd.spec index cdffd04..9c6cf3b 100644 --- a/caas-etcd.spec +++ b/caas-etcd.spec @@ -14,8 +14,9 @@ %define COMPONENT etcd %define RPM_NAME caas-%{COMPONENT} -%define RPM_MAJOR_VERSION 3.3.13 -%define RPM_MINOR_VERSION 3 +%define RPM_MAJOR_VERSION 3.4.0 +%define RPM_MINOR_VERSION 2 +%define go_version 1.12.10 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} %define docker_build_dir %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build %define docker_save_dir %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-save @@ -26,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 @@ -52,6 +53,7 @@ docker build \ --build-arg https_proxy="${https_proxy}" \ --build-arg no_proxy="${no_proxy}" \ --build-arg ETCD_VERSION="%{version}" \ + --build-arg go_version="%{go_version}" \ --tag %{COMPONENT}:%{IMAGE_TAG} \ %{docker_build_dir}/%{COMPONENT}/ mkdir -p %{docker_save_dir}/