]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
golang: alternative install
authorElan Ruusamäe <glen@delfi.ee>
Fri, 11 Nov 2016 09:10:37 +0000 (11:10 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 22 Nov 2016 19:27:56 +0000 (21:27 +0200)
golang-package.spec

index a57337b32f87d3f5df2e5b77d3dbc0309e3fd324..146a14a4b024dc8e6c16b0fe9ca509357902afc8 100644 (file)
@@ -47,6 +47,10 @@ packages which use import path with %{import_path} prefix.
 install -d src/$(dirname %{import_path})
 ln -s ../../.. src/%{import_path}
 
+# alternative
+install -d src/$(dirname %{import_path})
+mv %{name}-%{version} src/%{import_path}
+
 %build
 export GOPATH=$(pwd)
 
This page took 0.29129 seconds and 4 git commands to generate.