Author: Kevin Chevreuil - Kaisen <kaisen@kaisenlinux.org>

--- packer-1.9.2.orig/Makefile
+++ packer-1.9.2/Makefile
@@ -4,18 +4,9 @@ VET?=$(shell go list ./...)
 
 ACC_TEST_BUILDERS?=all
 ACC_TEST_PROVISIONERS?=all
-# Get the current full sha from git
-GITSHA:=$(shell git rev-parse HEAD)
-# Get the current local branch name from git (if we can, this may be blank)
-GITBRANCH:=$(shell git symbolic-ref --short HEAD 2>/dev/null)
 GOOS=$(shell go env GOOS)
 GOARCH=$(shell go env GOARCH)
 GOPATH=$(shell go env GOPATH)
-
-# Get the git commit
-GIT_DIRTY=$(shell test -n "`git status --porcelain`" && echo "+CHANGES" || true)
-GIT_COMMIT=$(shell git rev-parse --short HEAD)
-GIT_IMPORT=github.com/hashicorp/packer/version
 UNAME_S := $(shell uname -s)
 LDFLAGS=-s -w
 GOLDFLAGS=-X $(GIT_IMPORT).GitCommit=$(GIT_COMMIT)$(GIT_DIRTY) $(LDFLAGS)
