summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-12-25 20:00:32 +0300
committerMax Romanov <max.romanov@nginx.com>2019-12-25 20:00:32 +0300
commit693a458b4ea87b7b387bd9d094de2b42be7ecdbd (patch)
tree3e1085dfd5bb037ac9ef9cfcd80e3d62205db63e /pkg
parenteced72ba25a1aced3553ac4e8499c4c2befd2a91 (diff)
downloadunit-693a458b4ea87b7b387bd9d094de2b42be7ecdbd.tar.gz
unit-693a458b4ea87b7b387bd9d094de2b42be7ecdbd.tar.bz2
Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation directory.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/deb/debian.module/unit.example-go-app2
-rw-r--r--pkg/deb/debian/unit.example-go-app2
-rw-r--r--pkg/rpm/Makefile.go4
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.example-go-app2
4 files changed, 5 insertions, 5 deletions
diff --git a/pkg/deb/debian.module/unit.example-go-app b/pkg/deb/debian.module/unit.example-go-app
index 7ca0c9fd..6eec1dbb 100644
--- a/pkg/deb/debian.module/unit.example-go-app
+++ b/pkg/deb/debian.module/unit.example-go-app
@@ -3,7 +3,7 @@ package main
import (
"fmt"
"net/http"
- "nginx/unit"
+ "unit.nginx.org/go"
)
func handler(w http.ResponseWriter, r *http.Request) {
diff --git a/pkg/deb/debian/unit.example-go-app b/pkg/deb/debian/unit.example-go-app
index 7ca0c9fd..6eec1dbb 100644
--- a/pkg/deb/debian/unit.example-go-app
+++ b/pkg/deb/debian/unit.example-go-app
@@ -3,7 +3,7 @@ package main
import (
"fmt"
"net/http"
- "nginx/unit"
+ "unit.nginx.org/go"
)
func handler(w http.ResponseWriter, r *http.Request) {
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go
index 8603e994..e3891ab4 100644
--- a/pkg/rpm/Makefile.go
+++ b/pkg/rpm/Makefile.go
@@ -52,8 +52,8 @@ endef
export MODULE_PREINSTALL_go
define MODULE_FILES_go
-%dir %{gopath}/src/nginx/unit
-%{gopath}/src/nginx/unit/*
+%dir %{gopath}/src/unit.nginx.org/go
+%{gopath}/src/unit.nginx.org/go/*
endef
export MODULE_FILES_go
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app b/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app
index 7ca0c9fd..6eec1dbb 100644
--- a/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-go-app
@@ -3,7 +3,7 @@ package main
import (
"fmt"
"net/http"
- "nginx/unit"
+ "unit.nginx.org/go"
)
func handler(w http.ResponseWriter, r *http.Request) {