|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 0.8.10 |
|
|
|
|
%define V_dist 20190218 |
|
|
|
|
%define V_dist 20190226 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: drone-server |
|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Web |
|
|
|
|
License: Apache |
|
|
|
|
Version: %{V_opkg}.%{V_dist} |
|
|
|
|
Release: 20190218 |
|
|
|
|
Release: 20190226 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/drone/drone-server-%{V_dist}.tar.xz |
|
|
|
|
@ -71,6 +71,7 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
|
|
%build |
|
|
|
|
# build program |
|
|
|
|
export GOPATH=`pwd` |
|
|
|
|
rm -rf $GOPATH/src/github.com/docker/distribution/vendor/github.com/opencontainers/go-digest |
|
|
|
|
go build -v -o drone-server github.com/drone/drone/cmd/drone-server |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
|