X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-metrics.git;a=blobdiff_plain;f=SPECS%2Fcaas-custom_metrics.spec;h=98382e0e755b00a84e2b963cde7f87075e60914e;hp=7ee14f43139e18976c8fd8e5d95268d7242f6324;hb=78833edbb349f73dca1d0d9749c410d6a4711cdf;hpb=a65d286d5ee14c4c5bf47112cb341d849fd40644 diff --git a/SPECS/caas-custom_metrics.spec b/SPECS/caas-custom_metrics.spec index 7ee14f4..98382e0 100644 --- a/SPECS/caas-custom_metrics.spec +++ b/SPECS/caas-custom_metrics.spec @@ -15,8 +15,9 @@ %define COMPONENT custom_metrics %define RPM_NAME caas-%{COMPONENT} %define RPM_MAJOR_VERSION 0.5.0 -%define RPM_MINOR_VERSION 1 -%define DEPENDENCY_MANAGER_VERSION 0.5.0 +%define RPM_MINOR_VERSION 2 +%define go_version 1.12.9 +%define DEP_MAN_VERSION 0.5.0 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} Name: %{RPM_NAME} @@ -49,7 +50,8 @@ docker build \ --build-arg http_proxy="${http_proxy}" \ --build-arg https_proxy="${https_proxy}" \ --build-arg no_proxy="${no_proxy}" \ - --build-arg CUSTOM_METRICS="%{RPM_MAJOR_VERSION}" \ + --build-arg CUSTOM_METRICS_VERSION="%{RPM_MAJOR_VERSION}" \ + --build-arg go_version="%{go_version}" \ --tag %{COMPONENT}:%{IMAGE_TAG} \ %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build/%{COMPONENT}/