From 4b7f1db317f91c12462fca1f66af411b2244eddf Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Fri, 28 May 2021 11:42:35 +0800 Subject: [PATCH] The "cc:command not found" error message is displayed during compilation.Therefore,add buildrequires gcc --- mcelog.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mcelog.spec b/mcelog.spec index 8f4509b..97226ae 100644 --- a/mcelog.spec +++ b/mcelog.spec @@ -4,7 +4,7 @@ Name: mcelog Version: 175 -Release: 1 +Release: 2 Epoch: 3 Summary: Linux kernel machine check handling middleware License: GPLv2 @@ -14,7 +14,7 @@ Source1: mce-inject-%{mce_inject_ver}.tar.bz2 Source2: aer-inject-%{aer_inject_ver}.tar.bz2 Source3: mcelog.conf ExclusiveArch: i686 x86_64 -BuildRequires: bison flex systemd +BuildRequires: bison flex systemd gcc Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT %attr(0644,root,root) %{_mandir}/*/* %changelog +* Fri May 28 2021 yangzhuangzhuang - 175-2 +- The "cc:command not found" error message is displayed during compilation.Therefore,add buildrequires gcc. + * Sat Jan 23 2021 zoulin - 175-1 - update to 175 -- Gitee