X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=caas-etcd.spec;h=84a0d21c3a7d362f3137845311f6828b091dddbf;hb=0f1d37be10ab1ae9b9d96b7bf1554b7297d13160;hp=34cbdad40f8d34ab07c3057d0013050c37b43c7b;hpb=26fbfdd8d2c6c526620cc848a22483035270965a;p=ta%2Fcaas-etcd.git diff --git a/caas-etcd.spec b/caas-etcd.spec index 34cbdad..84a0d21 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 5 +%define RPM_MAJOR_VERSION 3.4.0 +%define RPM_MINOR_VERSION 1 +%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}/