remove some spec file cruft
OBS-URL: https://build.opensuse.org/package/show/Virtualization/containerized-data-importer?expand=0&rev=8
This commit is contained in:
parent
fa406fdbbd
commit
31b446afb3
@ -132,12 +132,11 @@ esac
|
|||||||
reg_path='%{registry_path}'
|
reg_path='%{registry_path}'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
mkdir -p go/src/kubevirt.io go/pkg
|
mkdir -p go/src/kubevirt.io
|
||||||
ln -s ../../../ go/src/kubevirt.io/containerized-data-importer
|
ln -s ../../../ go/src/kubevirt.io/containerized-data-importer
|
||||||
export GOPATH=${PWD}/go
|
export GOPATH=${PWD}/go
|
||||||
export GOFLAGS="-buildmode=pie -mod=vendor"
|
export GOFLAGS="-buildmode=pie -mod=vendor"
|
||||||
env \
|
env \
|
||||||
KUBEVIRT_GO_BASE_PKGDIR="${GOPATH}/pkg" \
|
|
||||||
CDI_VERSION=%{version} \
|
CDI_VERSION=%{version} \
|
||||||
CDI_SOURCE_DATE_EPOCH="$(date -r LICENSE +%s)" \
|
CDI_SOURCE_DATE_EPOCH="$(date -r LICENSE +%s)" \
|
||||||
CDI_GIT_COMMIT='v%{version}' \
|
CDI_GIT_COMMIT='v%{version}' \
|
||||||
|
Loading…
Reference in New Issue
Block a user