Accepting request 648690 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/648690 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cri-tools?expand=0&rev=10
This commit is contained in:
commit
a778a942e8
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 13 07:50:12 UTC 2018 - Valentin Rothberg <vrothberg@suse.com>
|
||||||
|
|
||||||
|
- crictl/critest: compile version
|
||||||
|
|
||||||
|
- Require golang >= 1.10.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 2 07:30:42 UTC 2018 - Valentin Rothberg <vrothberg@suse.com>
|
Tue Oct 2 07:30:42 UTC 2018 - Valentin Rothberg <vrothberg@suse.com>
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Source0: %{name}-%{version}.tar.xz
|
|||||||
Source1: crictl.yaml
|
Source1: crictl.yaml
|
||||||
BuildRequires: go-go-md2man
|
BuildRequires: go-go-md2man
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: golang(API) >= 1.9
|
BuildRequires: golang(API) >= 1.10
|
||||||
# disable stripping of binaries
|
# disable stripping of binaries
|
||||||
%{go_nostrip}
|
%{go_nostrip}
|
||||||
|
|
||||||
@ -50,10 +50,12 @@ cd $HOME/go/src/%{project}
|
|||||||
|
|
||||||
go build -buildmode=pie \
|
go build -buildmode=pie \
|
||||||
-o bin/crictl \
|
-o bin/crictl \
|
||||||
|
-ldflags '-X %{project}/pkg/version.Version=%{version}' \
|
||||||
%{project}/cmd/crictl
|
%{project}/cmd/crictl
|
||||||
|
|
||||||
go test -buildmode=pie \
|
go test -buildmode=pie \
|
||||||
-o bin/critest \
|
-o bin/critest \
|
||||||
|
-ldflags '-X %{project}/pkg/version.Version=%{version}' \
|
||||||
-c %{project}/cmd/critest
|
-c %{project}/cmd/critest
|
||||||
|
|
||||||
# compile the manpages
|
# compile the manpages
|
||||||
|
Loading…
Reference in New Issue
Block a user