File fix_version.patch of Package docker-distribution.1173

--- a/Makefile	2015-08-13 00:13:45.000000000 +0200
+++ b/Makefile	2015-09-07 20:29:07.601642650 +0200
@@ -1,10 +1,6 @@
 # Set an output prefix, which is the local directory if not specified
 PREFIX?=$(shell pwd)
 
-
-# Used to populate version variable in main package.
-VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always)
-
 # Allow turning off function inlining and variable registerization
 ifeq (${DISABLE_OPTIMIZATION},true)
 	GO_GCFLAGS=-gcflags "-N -l"

--- a/version/version.go	2015-08-13 00:13:45.000000000 +0200
+++ b/version/version.go	2015-09-09 12:10:00.534696788 +0200
@@ -8,4 +8,4 @@
 // the latest release tag by hand, always suffixed by "+unknown". During
 // build, it will be replaced by the actual version. The value here will be
 // used if the registry is run after a go get based install.
-var Version = "v2.1.0+unknown"
+var Version = "v2.1.1+unknown"
openSUSE Build Service is sponsored by