From f9556a4ecee41f3a67e8be4023affe74c5017176 Mon Sep 17 00:00:00 2001 From: Nicolas Mailhot Date: Dec 02 2018 16:01:58 +0000 Subject: move gopath definition to the spec itself to allow filesystem creation --- diff --git a/rpm/macros.d/macros.go-srpm b/rpm/macros.d/macros.go-srpm index 41950b6..3b4ecc0 100644 --- a/rpm/macros.d/macros.go-srpm +++ b/rpm/macros.d/macros.go-srpm @@ -28,7 +28,7 @@ %go_arches %{golang_arches} %{gccgo_arches} # Where to set GOPATH for builds -%gopath %{_datadir}/gocode +%gopath @@GOPATH@@ # Define go_compilers macro to signal go-compiler package is available %go_compiler 1