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