Browse Source

align with drone-runner-exec

master
parent
commit
95a837d8e2
  1. 6
      drone-runner-docker/drone-runner-docker.spec

6
drone-runner-docker/drone-runner-docker.spec

@ -73,7 +73,8 @@ PreReq: OpenPKG, openpkg >= 20160101
# build program
export GOPATH=`pwd`
rm -rf $GOPATH/src/github.com/docker/distribution/vendor/github.com/opencontainers/go-digest
go build -v -o drone-runner-docker github.com/drone-runners/drone-runner-docker/
cd $GOPATH/src/github.com/drone-runners/drone-runner-docker/
go build -v -o drone-runner-docker
%install
# create installation hierarchy
@ -86,7 +87,8 @@ PreReq: OpenPKG, openpkg >= 20160101
# install program
%{l_shtool} install -c -s -m 755 \
drone-runner-docker $RPM_BUILD_ROOT%{l_prefix}/sbin/
src/github.com/drone-runners/drone-runner-docker/drone-runner-docker \
$RPM_BUILD_ROOT%{l_prefix}/sbin/
# install default configuration
%{l_shtool} install -c -m 644 %{l_value -s -a} \

Loading…
Cancel
Save