|
|
@ -23,7 +23,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
# package version |
|
|
|
%define V_consul_env_base 0.7.3 |
|
|
|
%define V_consul_env_base 0.7.3 |
|
|
|
%define V_consul_env_snap 20190104 |
|
|
|
%define V_consul_env_snap 20190519 |
|
|
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
# package information |
|
|
|
Name: consul-env |
|
|
|
Name: consul-env |
|
|
@ -36,7 +36,7 @@ Class: EVAL |
|
|
|
Group: Networking |
|
|
|
Group: Networking |
|
|
|
License: MPL |
|
|
|
License: MPL |
|
|
|
Version: %{V_consul_env_base}.%{V_consul_env_snap} |
|
|
|
Version: %{V_consul_env_base}.%{V_consul_env_snap} |
|
|
|
Release: 20190104 |
|
|
|
Release: 20190519 |
|
|
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
# list of sources |
|
|
|
Source0: http://download.openpkg.org/components/versioned/consul/consul-env-%{V_consul_env_snap}.tar.xz |
|
|
|
Source0: http://download.openpkg.org/components/versioned/consul/consul-env-%{V_consul_env_snap}.tar.xz |
|
|
@ -69,7 +69,7 @@ PreReq: OpenPKG, openpkg >= 20160101, consul |
|
|
|
# build program |
|
|
|
# build program |
|
|
|
export GOPATH=`pwd` |
|
|
|
export GOPATH=`pwd` |
|
|
|
cd src/github.com/hashicorp/envconsul |
|
|
|
cd src/github.com/hashicorp/envconsul |
|
|
|
go build -x -o bin/consul-env |
|
|
|
go build -v -o bin/consul-env |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
# create directory hierarchy |
|
|
|
# create directory hierarchy |
|
|
|