File tree 3 files changed +4
-2
lines changed 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ if [ ! -h ${GOGRADLE_PROJECT_PATH}/src/${repo_path} ]; then
33
33
ln -s ../../../../.. ${GOGRADLE_PROJECT_PATH} /src/${repo_path}
34
34
fi
35
35
36
+ export CGO_ENABLED=0
36
37
export GO15VENDOREXPERIMENT=1
37
38
export GOBIN=${PWD} /bin
38
39
export GOPATH=${PWD} /${GOGRADLE_PROJECT_PATH}
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ packageRepo=github.com/kaloom/kubernetes-podagent
2
2
binDir =bin
3
3
execName =podagent
4
4
goVersion =1.11.5
5
- version =0.1.4
5
+ version =0.1.5
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ Source2: podagent.service
13
13
%description
14
14
15
15
%prep
16
- for f in @@rpm_build_dir@@/* ; do cp -a $f $RPM_SOURCE_DIR ; done
16
+ mkdir $RPM_SOURCE_DIR
17
+ for f in @@rpm_build_dir@@/* ; do cp -a $f $RPM_SOURCE_DIR /; done
17
18
18
19
%build
19
20
You can’t perform that action at this time.
0 commit comments