同步解决编译问题pr

Signed-off-by: lauyarn <liuyang.nb@outlook.com>
This commit is contained in:
lauyarn 2023-10-19 07:33:20 +00:00 committed by Gitee
parent a974bf29d2
commit c8fef4e430
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: kae_driver
Summary: Kunpeng Accelerator Engine Kernel Driver
Version: 1.3.10
Release: 5
Release: 6
License: GPL-2.0
Source: %{name}-%{version}.tar.gz
Vendor: Huawei Corporation
@ -12,7 +12,7 @@ URL: https://support.huawei.com
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Conflicts: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
BuildRequires: kernel-devel, gcc, make
BuildRequires: kernel-devel, kernel, gcc, make, uname-build-checks
ExclusiveArch: aarch64
%define kernel_version %(uname -r)
@ -232,6 +232,9 @@ echo "hisi_rde modules uninstalled"
%config(noreplace) /etc/modprobe.d/hisi_rde.conf
%changelog
* Wed Jul 26 2023 zhangkea <zhangkea@uniontech.com> 1.2.10-6
- add buildrequires uname-build-checks kernel
* Sun Mar 15 2020 zhangtao <zhangtao221@huawei.com> 1.2.10-3
- specify aarch64 compilation