]> git.pld-linux.org Git - packages/docker-ce.git/commitdiff
include "-ce" suffix to version
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 10 Oct 2018 13:11:38 +0000 (16:11 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 10 Oct 2018 13:12:11 +0000 (16:12 +0300)
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

docker-ce.spec

index 325a09194dbef2bdb70173c2a7231467fc98320d..84fa61eca34d33fffb9424b66256cd36cc8e7a10 100644 (file)
@@ -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
 
This page took 0.087376 seconds and 4 git commands to generate.