From: Elan Ruusamäe Date: Wed, 10 Oct 2018 13:11:38 +0000 (+0300) Subject: include "-ce" suffix to version X-Git-Tag: auto/th/docker-ce-18.09.0-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdocker-ce.git;a=commitdiff_plain;h=740f715 include "-ce" suffix to version this makes docker version output similar to official binary $ docker version Client: Version: 18.06.1-ce API version: 1.38 Go version: go1.10.3 Git commit: PLD-Linux/18.06.1 Built: Wed Oct 10 12:14:48 2018 OS/Arch: linux/amd64 Experimental: false --- diff --git a/docker-ce.spec b/docker-ce.spec index 325a091..84fa61e 100644 --- a/docker-ce.spec +++ b/docker-ce.spec @@ -175,7 +175,7 @@ ln -s ../../../.. components/cli/.gopath/src/github.com/docker/cli %build grep -rhE "=%{runc_commit}|=%{containerd_commit}|=%{libnetwork_commit}" $(pwd)/components/engine/hack/dockerfile/install/ -export VERSION=%{version} +export VERSION=%{version}-ce # for `docker version` export GITCOMMIT="PLD-Linux/%{version}" # for cli export DOCKER_GITCOMMIT="PLD-Linux/%{version}" # for engine