!32 Add BuildRequires uname-build-checks to get correct kernel_version
From: @panxh_purple Reviewed-by: @realzhongkeyi Signed-off-by: @realzhongkeyi
This commit is contained in:
commit
839222c0e6
@ -3,7 +3,7 @@
|
|||||||
Name: kae_driver
|
Name: kae_driver
|
||||||
Summary: Kunpeng Accelerator Engine Kernel Driver
|
Summary: Kunpeng Accelerator Engine Kernel Driver
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Vendor: Huawei Corporation
|
Vendor: Huawei Corporation
|
||||||
@ -12,7 +12,7 @@ URL: https://support.huawei.com
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Conflicts: %{name} < %{version}-%{release}
|
Conflicts: %{name} < %{version}-%{release}
|
||||||
Provides: %{name} = %{version}-%{release}
|
Provides: %{name} = %{version}-%{release}
|
||||||
BuildRequires: kernel-devel, gcc, make
|
BuildRequires: kernel-devel, gcc, make, uname-build-checks
|
||||||
ExclusiveArch: aarch64
|
ExclusiveArch: aarch64
|
||||||
Patch0001: 0001-ci-kernel-version-patch.patch
|
Patch0001: 0001-ci-kernel-version-patch.patch
|
||||||
|
|
||||||
@ -232,6 +232,9 @@ echo "hisi_trng_v2 modules uninstalled"
|
|||||||
%config(noreplace) /etc/modprobe.d/hisi_trng_v2.conf
|
%config(noreplace) /etc/modprobe.d/hisi_trng_v2.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 10 2023 panxiaohe <pan_xiaohe@hoperun.com> - 2.0.1-2
|
||||||
|
- Add BuildRequires uname-build-checks to get correct kernel_version
|
||||||
|
|
||||||
* Tue Feb 7 2023 mayunhui <mayunhui3@huawei.com> - 2.0.1
|
* Tue Feb 7 2023 mayunhui <mayunhui3@huawei.com> - 2.0.1
|
||||||
- Fix kae_driver build error in the patch file
|
- Fix kae_driver build error in the patch file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user