|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
Name: drone |
|
|
|
|
Version: 1.7.0 |
|
|
|
|
Version: 1.10.1 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: Drone is a Container-Native, Continuous Delivery Platform |
|
|
|
|
License: Apache |
|
|
|
@ -47,7 +47,7 @@ export GO111MODULE=on
@@ -47,7 +47,7 @@ export GO111MODULE=on
|
|
|
|
|
cd src/github.com/drone/drone |
|
|
|
|
git checkout v%{version} |
|
|
|
|
export CGO_ENABLED=0 |
|
|
|
|
go build -v -ldflags "-s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid %{version}" -o drone-server github.com/drone/drone/cmd/drone-server |
|
|
|
|
go build -v -tags 'oss nolimit' -ldflags "-s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid %{version}" -o drone-server github.com/drone/drone/cmd/drone-server |
|
|
|
|
go build -v -ldflags "-s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid %{version}" -o drone-agent github.com/drone/drone/cmd/drone-agent |
|
|
|
|
go build -v -ldflags "-s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid %{version}" -o drone-controller github.com/drone//drone/cmd/drone-controller |
|
|
|
|
|
|
|
|
|