fix(wl-kmod): kmodtool repo (#2982) (#2983)

Signed-off-by: Gil <rockgrub@protonmail.com>
(cherry picked from commit a7f7b98986)

Co-authored-by: Gil <rockgrub@protonmail.com>
This commit is contained in:
Raboneko
2025-01-15 05:13:26 -08:00
committed by GitHub
parent 1b8c7eaced
commit 7ca73b21df
+2 -2
View File
@@ -51,7 +51,7 @@ BuildRequires: elfutils-libelf-devel
%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel}
%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%{expand:%(kmodtool --target %{_target_cpu} --repo terra --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%description
These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-, BCM4331-, BCM4360, and -BCM4352-.
@@ -60,7 +60,7 @@ NOTE: Please read the LICENSE.txt file in the docs directory before using this d
%prep
%{?kmodtool_check}
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
kmodtool --target %{_target_cpu} --repo terra --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
%setup -q -c -T
mkdir %{name}-%{version}-src