From 112ea3fc15aeedbec24309e8ece447ac05a5a104 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 9 Sep 2021 20:38:59 +0800 Subject: [PATCH] Set CFLAGS to build debug related rpm (cherry picked from commit da61fd37ecfc198b40f452bac5d46e700c7af195) --- conmon.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/conmon.spec b/conmon.spec index 343b138..1375259 100644 --- a/conmon.spec +++ b/conmon.spec @@ -1,9 +1,7 @@ -%global with_debug 0 -%global debug_package %{nil} Name: conmon Epoch: 2 Version: 2.0.2 -Release: 3 +Release: 4 Summary: Monitoring program for OCI container License: ASL 2.0 URL: https://github.com/containers/conmon @@ -18,6 +16,7 @@ and an OCI runtime (like runc or crun) for a single container. %autosetup -n conmon-65fe0226d85b69fc9e527e376795c9791199153d -p1 %build +export CFLAGS="${RPM_OPT_FLAGS}" %make_build all %install @@ -30,6 +29,9 @@ make PREFIX=%{buildroot}%{_prefix} install install.crio %{_libexecdir}/crio/conmon %changelog +* Thu Sep 09 2021 lingsheng - 2:2.0.2-4 +- Set CFLAGS to build debug related rpm + * Mon May 31 2021 baizhonggui - 2:2.0.2-3 - Add gcc in BuildRequires -- Gitee