From 16aff47ace60752e253dcf3d32a54a7854cbc18c Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Fri, 28 May 2021 11:44:15 +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 00a326c..b80429d 100644 --- a/mcelog.spec +++ b/mcelog.spec @@ -4,7 +4,7 @@ Name: mcelog Version: 168 -Release: 2 +Release: 3 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 - 168-2 +- The "cc:command not found" error message is displayed during compilation.Therefore,add buildrequires gcc. + * Wed Sep 2 2020 zhangxingliang - 168-2 - modify source url -- Gitee