X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=SPECS%2Fswift.spec;h=6833f8a1f673d83b19da630482d31763eb880e96;hb=6d2abc089b9317df0906152d237bd3ca01fc899c;hp=3f0edcf0ca5cef9493f5e576c393676aa8a77d6c;hpb=e7699d4abe5bbbf605b5e7278bef0e76e8ebe05f;p=ta%2Fcaas-registry.git diff --git a/SPECS/swift.spec b/SPECS/swift.spec index 3f0edcf..6833f8a 100644 --- a/SPECS/swift.spec +++ b/SPECS/swift.spec @@ -14,21 +14,22 @@ %define COMPONENT swift %define RPM_NAME caas-%{COMPONENT} -%define RPM_MAJOR_VERSION 2.21.0 +%define RPM_MAJOR_VERSION 2.22.0 %define RPM_MINOR_VERSION 5 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} +%define centos_build 191001 Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} Release: %{RPM_MINOR_VERSION}%{?dist} Summary: Containers as a Service Swift 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/openstack/swift -BuildArch: x86_64 +BuildArch: %{_arch} Vendor: %{_platform_vendor} and openstack/swift unmodified 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 %description This rpm contains the swift container and ansible for caas subsystem. @@ -38,6 +39,7 @@ This container contains the swift service. %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}/centos-7-docker.tar.xz # Building the container docker build \ --network=host \