The "cc:command not found" error message is displayed during compilation.Therefore,add buildrequires gcc

This commit is contained in:
yang_zhuang_zhuang 2021-05-28 11:42:35 +08:00
parent faac60c9fb
commit 4b7f1db317

View File

@ -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 <yangzhuangzhuang1@huawei.com> - 175-2
- The "cc:command not found" error message is displayed during compilation.Therefore,add buildrequires gcc.
* Sat Jan 23 2021 zoulin <zoulin13@huawei.com> - 175-1
- update to 175