From 7cee44221384041f6e250ff6ccbc2a455e639220 Mon Sep 17 00:00:00 2001 From: cherry530 Date: Thu, 12 Jan 2023 14:36:15 +0800 Subject: [PATCH] Fix build failure caused by missing go-md2man in tools directory. Signed-off-by: cherry530 --- conmon.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/conmon.spec b/conmon.spec index 4b5006a..a3e5c3e 100644 --- a/conmon.spec +++ b/conmon.spec @@ -1,7 +1,7 @@ Name: conmon Epoch: 2 Version: 2.1.2 -Release: 1 +Release: 2 Summary: Monitoring program for OCI container License: ASL 2.0 URL: https://github.com/containers/conmon @@ -22,10 +22,11 @@ tar -xf %SOURCE1 %build GO_MD2MAN_PATH="$(pwd)%{_bindir}" -mkdir -p _build/bin $GO_MD2MAN_PATH +mkdir -p _build/bin $GO_MD2MAN_PATH tools/build cd go-md2man-* go build -mod=vendor -o ../_build/bin/go-md2man . cp ../_build/bin/go-md2man $GO_MD2MAN_PATH/go-md2man +cp ../_build/bin/go-md2man ../tools/build/ export PATH=$GO_MD2MAN_PATH:$PATH cd - export CFLAGS="${RPM_OPT_FLAGS}" @@ -43,6 +44,9 @@ make PREFIX=%{buildroot}%{_prefix} install install.crio %{_mandir}/man8/* %changelog +* Thu Jan 12 2023 xu_ping - 2:2.1.2-2 +- Fix build failure caused by missing go-md2man in tools directory. + * Sun Sep 04 2022 tianlijing - 2:2.1.2-1 - update to 2.1.2 -- Gitee