!6 fix bug unknown version
From: @suo-xiaocong Reviewed-by: @duyiwei7w Signed-off-by: @duyiwei7w
This commit is contained in:
commit
adb9365653
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Name: cri-tools
|
Name: cri-tools
|
||||||
Version: 1.24.2
|
Version: 1.24.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: CLI and validation tools for Container Runtime Interface
|
Summary: CLI and validation tools for Container Runtime Interface
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://%{goipath}
|
URL: https://%{goipath}
|
||||||
@ -39,6 +39,7 @@ cp ../_build/bin/go-md2man $GO_MD2MAN_PATH/go-md2man
|
|||||||
export PATH=$GO_MD2MAN_PATH:$PATH
|
export PATH=$GO_MD2MAN_PATH:$PATH
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
export LDFLAGS='-X %{goipath}/pkg/version.Version=v%{version}'
|
||||||
%gobuild -o bin/crictl %{goipath}/cmd/crictl
|
%gobuild -o bin/crictl %{goipath}/cmd/crictl
|
||||||
go-md2man -in docs/crictl.md -out docs/crictl.1
|
go-md2man -in docs/crictl.md -out docs/crictl.1
|
||||||
|
|
||||||
@ -59,6 +60,9 @@ install -p -m 644 docs/crictl.1 %{buildroot}%{_mandir}/man1
|
|||||||
%{_mandir}/man1/crictl*
|
%{_mandir}/man1/crictl*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 21 2023 suoxiaocong <suoxiaocong@kylinos.cn> - 1.24.2-2
|
||||||
|
- fix bug unknown version
|
||||||
|
|
||||||
* Sat Jul 30 2022 tianlijing <tianlijing@kylinos.cn> - 1.24.2-1
|
* Sat Jul 30 2022 tianlijing <tianlijing@kylinos.cn> - 1.24.2-1
|
||||||
- update to 1.24.2
|
- update to 1.24.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user