commit b86683a477f4d40e09501b6953a89c634bd9de75 Author: Shoaib Nasir Date: Mon May 14 15:32:06 2018 -0400 WRS: 0001-Update-package-versioning-for-TIS-format.patch diff --git a/SPECS/docker-ce.spec b/SPECS/docker-ce.spec index 82b5042..36d2980 100644 --- a/SPECS/docker-ce.spec +++ b/SPECS/docker-ce.spec @@ -1,6 +1,8 @@ +%global _version 18.03.1 + Name: docker-ce Version: %{_version} -Release: %{_release}%{?dist} +Release: 1%{?_tis_dist}.%{tis_patch_ver} Summary: The open-source application container engine Group: Tools/Docker License: ASL 2.0 @@ -59,6 +61,7 @@ depending on a particular stack or provider. %setup -q -c -n src -a 1 %build +export PBR_VERSION=%{version} export DOCKER_GITCOMMIT=%{_gitcommit} mkdir -p /go/src/github.com/docker rm -f /go/src/github.com/docker/cli @@ -79,6 +82,7 @@ engine/bundles/dynbinary-daemon/dockerd -v %install # install binary +export PBR_VERSION=%{version} install -d $RPM_BUILD_ROOT/%{_bindir} install -p -m 755 cli/build/docker $RPM_BUILD_ROOT/%{_bindir}/docker install -p -m 755 $(readlink -f engine/bundles/dynbinary-daemon/dockerd) $RPM_BUILD_ROOT/%{_bindir}/dockerd