!13 add elfutils-devel as BuildRequire to solve building error

From: @hzero1996
Reviewed-by: @chenmaodong
Signed-off-by: @chenmaodong
This commit is contained in:
openeuler-ci-bot 2021-09-09 02:16:39 +00:00 committed by Gitee
commit c17df9d9e8

View File

@ -1,13 +1,13 @@
Name: linux-sgx-driver
Version: 2.11
Release: 5
Release: 6
Summary: Intel SGX Linux* Driver
ExclusiveArch: x86_64
License: BSD-3-Clause and GPL-2.0 License
URL: https://github.com/intel/linux-sgx-driver
Source0: https://github.com/intel/linux-sgx-driver/archive/sgx_driver_%{version}.tar.gz
BuildRequires: gcc kernel-devel make module-init-tools glibc uname-build-checks
BuildRequires: gcc kernel-devel make module-init-tools glibc uname-build-checks elfutils-devel
Patch0: 0001-Fix-compilation-on-5.8-kernel-120.patch
%define kern_devel_ver %(uname -r)
@ -61,6 +61,9 @@ sed -i '/^isgx$/d' /etc/modules
%changelog
* Wed Sep 8 2021 wangcheng <wangcheng156@huawei.com> - 2.11.6
- add elfutils-devel as BuildRequire to solve building error
* Thu Mon 19 2021 chenmaodong <chenmaodong@huawei.com> - 2.11.5
- set the requiers of kernel version with linux-sgx-driver building environment kernel