X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=SPECS%2Fregistry.spec;h=0e788ef97ce9f438dc261802d1747843537640c2;hb=86890efc056b21bdd1034aa24edf310da7d462f9;hp=e3ec502e9b9b6e300a84dc6cc6ee601020316fc3;hpb=cc76c89de6c18b508a76ee1b5802fb577ea6d427;p=ta%2Fcaas-registry.git diff --git a/SPECS/registry.spec b/SPECS/registry.spec index e3ec502..0e788ef 100644 --- a/SPECS/registry.spec +++ b/SPECS/registry.spec @@ -15,15 +15,17 @@ %define COMPONENT registry %define RPM_NAME caas-%{COMPONENT} %define RPM_MAJOR_VERSION 2.7.1 -%define RPM_MINOR_VERSION 1 +%define RPM_MINOR_VERSION 11 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} +%define go_version 1.12.10 + Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} Release: %{RPM_MINOR_VERSION}%{?dist} Summary: Containers as a Service Registry component License: %{_platform_license} and Apache License and GNU Lesser General Public License v3.0 only and BSD 3-clause New or Revised License and MIT License and Common Development and Distribution License and BSD and GNU General Public License v2.0 only URL: https://github.com/docker/distribution -BuildArch: x86_64 +BuildArch: %{_arch} Vendor: %{_platform_vendor} and docker/distribution unmodified Source0: %{name}-%{version}.tar.gz @@ -50,6 +52,7 @@ docker build \ --build-arg https_proxy="${https_proxy}" \ --build-arg no_proxy="${no_proxy}" \ --build-arg REGISTRY="%{version}" \ + --build-arg go_version="%{go_version}" \ --tag %{COMPONENT}:%{IMAGE_TAG} \ %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build/%{COMPONENT}/ @@ -96,4 +99,3 @@ fi %clean rm -rf ${buildroot} -