!5 add buildrequires uname-build-checks

From: @zgzxx
Reviewed-by: @chenmaodong
Signed-off-by: @chenmaodong
This commit is contained in:
openeuler-ci-bot 2021-07-01 12:01:03 +00:00 committed by Gitee
commit 3feb7374e5

View File

@ -1,13 +1,13 @@
Name: linux-sgx-driver
Version: 2.11
Release: 3
Release: 4
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
BuildRequires: gcc kernel-devel make module-init-tools glibc uname-build-checks
Patch0: 0001-Fix-compilation-on-5.8-kernel-120.patch
Requires: kernel
@ -58,6 +58,9 @@ sed -i '/^isgx$/d' /etc/modules
%changelog
* Thu Jul 1 2021 zhangguangzhi <zhangguangzhi3@huawei.com> - 2.11.4
- add buildrequires uname-build-checks
* Mon Dec 28 2020 chenmaodong <chenmaodong@huawei.com> - 2.11.3
- Fix compilation on 5.8 kernel