X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=SPECS%2Fcaas-prometheus.spec;h=34d1958c7624ce3052d543f13565a1fa993fdedc;hb=641c2c743b7bad46a071c287a10d60bd607cb657;hp=b2fcca69fdd383b335a3b6e92efe4abc1ce3d34c;hpb=2f36bf028fd34ea63b3f858a49e2fd88097215b3;p=ta%2Fcaas-metrics.git diff --git a/SPECS/caas-prometheus.spec b/SPECS/caas-prometheus.spec index b2fcca6..34d1958 100644 --- a/SPECS/caas-prometheus.spec +++ b/SPECS/caas-prometheus.spec @@ -14,9 +14,9 @@ %define COMPONENT prometheus %define RPM_NAME caas-%{COMPONENT} -%define RPM_MAJOR_VERSION 2.10.0 -%define RPM_MINOR_VERSION 0 -%define GO_VERSION 1.12.1 +%define RPM_MAJOR_VERSION 2.11.1 +%define RPM_MINOR_VERSION 3 +%define go_version 1.12.10 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} Name: %{RPM_NAME} @@ -25,7 +25,7 @@ Release: %{RPM_MINOR_VERSION}%{?dist} Summary: Containers as a Service Prometheus component License: %{_platform_license} and BSD and Apache License and MIT license and Mozilla Public License and Lesser General Public License and GNU General Public License v2.0 only URL: https://github.com/prometheus/prometheus -BuildArch: x86_64 +BuildArch: %{_arch} Vendor: %{_platform_vendor} and prometheus/prometheus unmodified Source0: %{name}-%{version}.tar.gz @@ -49,8 +49,8 @@ docker build \ --build-arg http_proxy="${http_proxy}" \ --build-arg https_proxy="${https_proxy}" \ --build-arg no_proxy="${no_proxy}" \ - --build-arg PROMETHEUS="%{RPM_MAJOR_VERSION}" \ - --build-arg GO_REQUIRED="%{GO_VERSION}" \ + --build-arg PROMETHEUS_VERSION="%{RPM_MAJOR_VERSION}" \ + --build-arg go_version="%{go_version}" \ --tag %{COMPONENT}:%{IMAGE_TAG} \ %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build/%{COMPONENT}/