X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=rpmbuild.spec;h=cc237cab4d2554c7b3c72e845ce497fc1f9722ac;hb=2ec34f5210f5ca4a75132da4a33ffb1b85b5d3c7;hp=22cd3f6254693477f978bd835726e5d0c0495bab;hpb=787a10094712cd6ebd884dbac072302a75aacf31;p=ta%2Fcaas-cpupooler.git diff --git a/rpmbuild.spec b/rpmbuild.spec index 22cd3f6..cc237ca 100644 --- a/rpmbuild.spec +++ b/rpmbuild.spec @@ -16,12 +16,13 @@ %define COMPONENT_PART process-starter %define RPM_NAME caas-%{COMPONENT} %define RPM_MAJOR_VERSION 0.3.0 -%define RPM_MINOR_VERSION 5 -%define go_version 1.12.9 -%define CPUPOOLER_VERSION 603d1128aa982493d50d682b2edb37fe17b73031 -%define DEP_MAN_VERSION 0.5.0 +%define RPM_MINOR_VERSION 9 +%define go_version 1.12.10 +%define CPUPOOLER_VERSION e0459346946b0907d26cd3d79dc54feb2c625286 +%define DEP_MAN_VERSION 0.5.4 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} %define PROCESS_STARTER_INSTALL_PATH /opt/bin/ +%define centos_build 191001 Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} @@ -29,12 +30,12 @@ Release: %{RPM_MINOR_VERSION}%{?dist} Summary: Containers as a Service cpu-pooler component License: %{_platform_license} and BSD 3-Clause License URL: https://github.com/nokia/CPU-Pooler -BuildArch: x86_64 +BuildArch: %{_arch} Vendor: %{_platform_vendor} and Nokia Source0: %{name}-%{version}.tar.gz Requires: docker-ce >= 18.09.2, rsync -BuildRequires: docker-ce-cli >= 18.09.2, xz +BuildRequires: docker-ce-cli >= 18.09.2, xz, wget # I was able to pack an executable via this. # more info at https://fedoraproject.org/wiki/Packaging:Debuginfo @@ -47,6 +48,7 @@ This RPM contains the cpu-pooler container image, process-starter binary and rel %autosetup %build +wget --progress=dot:giga http://artifacts.ci.centos.org/sig-cloudinstance/centos-7-%{centos_build}/%{_arch}/centos-7-%{_arch}-docker.tar.xz -O %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build/%{COMPONENT_PART}/centos-7-docker.tar.xz # build the process-starter binary inside a builder conatiner docker build \ --network=host \