diff --git a/cri-tools.spec b/cri-tools.spec index cee7f7a..1d902c7 100644 --- a/cri-tools.spec +++ b/cri-tools.spec @@ -13,7 +13,7 @@ Name: cri-tools Version: 1.24.2 -Release: 1 +Release: 2 Summary: CLI and validation tools for Container Runtime Interface License: ASL 2.0 URL: https://%{goipath} @@ -39,6 +39,7 @@ cp ../_build/bin/go-md2man $GO_MD2MAN_PATH/go-md2man export PATH=$GO_MD2MAN_PATH:$PATH cd - +export LDFLAGS='-X %{goipath}/pkg/version.Version=v%{version}' %gobuild -o bin/crictl %{goipath}/cmd/crictl 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* %changelog +* Tue Nov 21 2023 suoxiaocong - 1.24.2-2 +- fix bug unknown version + * Sat Jul 30 2022 tianlijing - 1.24.2-1 - update to 1.24.2