Skip to content

Commit e0f0d54

Browse files
author
Sylvain Labastrou
committed
Fix GLIBC_2 dependency
1 parent 4a165c1 commit e0f0d54

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ if [ ! -h ${GOGRADLE_PROJECT_PATH}/src/${repo_path} ]; then
3333
ln -s ../../../../.. ${GOGRADLE_PROJECT_PATH}/src/${repo_path}
3434
fi
3535

36+
export CGO_ENABLED=0
3637
export GO15VENDOREXPERIMENT=1
3738
export GOBIN=${PWD}/bin
3839
export GOPATH=${PWD}/${GOGRADLE_PROJECT_PATH}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ packageRepo=github.com/kaloom/kubernetes-podagent
22
binDir=bin
33
execName=podagent
44
goVersion=1.11.5
5-
version=0.1.4
5+
version=0.1.5

rpm/podagent.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Source2: podagent.service
1313
%description
1414

1515
%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
1718

1819
%build
1920

0 commit comments

Comments
 (0)