|
1 | | -%global commit 863cec82fea704c84fb65e42186f7782e1545a83 |
| 1 | +%global commit 897e7c4c15dd5a0a569745dc223d969a26ff5bfc |
2 | 2 | %global shortcommit %(c=%{commit}; echo ${c:0:7}) |
3 | | -%global gitdate 20201129 |
| 3 | +%global gitdate 20210321 |
4 | 4 |
|
5 | 5 | # buildforkernels macro hint: when you build a new version or a new release |
6 | 6 | # that contains bugfixes or other improvements then you must disable the |
|
13 | 13 |
|
14 | 14 | Name: rtl8821ce-kmod |
15 | 15 | Version: 0.1 |
16 | | -Release: 2%{?gitdate:.%gitdate.git%shortcommit}%{?dist} |
| 16 | +Release: 4%{?gitdate:.%gitdate.git%shortcommit}%{?dist} |
17 | 17 | Summary: Kernel modules for Realtek RTL8821CE Driver |
18 | 18 | License: GPLv2 |
19 | 19 | #URL: https://github.com/tomaspinho/rtl8821ce |
20 | 20 | URL: https://github.com/sergiomb2/rtl8821ce |
21 | 21 | Source0: %{url}/archive/%{commit}/rtl8821ce-%{shortcommit}.tar.gz |
22 | 22 | Source1: rtw88_blacklist.conf |
| 23 | +Patch0: rename_to_rtl8821ce.patch |
23 | 24 |
|
24 | 25 | %global AkmodsBuildRequires %{_bindir}/kmodtool, xz, time, elfutils-libelf-devel, gcc, bc |
25 | 26 | BuildRequires: %{AkmodsBuildRequires} |
@@ -51,6 +52,9 @@ Provides: %{name}-common = %{version}-%{release} |
51 | 52 | kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null |
52 | 53 |
|
53 | 54 | %setup -q -c |
| 55 | +pushd rtl8821ce-%{commit} |
| 56 | +%patch0 -p1 |
| 57 | +popd |
54 | 58 |
|
55 | 59 | for kernel_version in %{?kernel_versions} ; do |
56 | 60 | cp -a rtl8821ce-%{commit} _kmod_build_${kernel_version%%___*} |
|
85 | 89 | %{_sysconfdir}/modprobe.d/rtw88_blacklist.conf |
86 | 90 |
|
87 | 91 | %changelog |
| 92 | +* Mon Mar 22 2021 Sérgio Basto <sergio@serjux.com> - 0.1-4.20210321.git897e7c4 |
| 93 | +- 20210321 5.12-rc2 |
| 94 | + |
| 95 | +* Mon Mar 01 2021 Sérgio Basto <sergio@serjux.com> - 0.1-3.20210301.git64ac6d3 |
| 96 | +- 20210301 |
| 97 | + |
88 | 98 | * Tue Oct 06 2020 Sérgio Basto <sergio@serjux.com> - 0.1-1.20201006.gitfe97b50 |
89 | 99 | - Initial release |
90 | 100 |
|
0 commit comments