split firmware files into a -firmware package [release 20161026git-4mamba;Wed Nov 22 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:31:41 +01:00
parent ac2fa19f35
commit 7107843c1f

View File

@ -1,6 +1,6 @@
Name: rtl8723bs
Version: 20161026git
Release: 3mamba
Release: 4mamba
Summary: Realtek SDIO Wi-Fi driver
Group: System/Kernel and Hardware
Vendor: openmamba
@ -14,6 +14,7 @@ License: GPL
## AUTOBUILDREQ-END
Requires(post):kernelheaders
Requires(post):dkms
Requires: %{name}-firmware = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -31,6 +32,13 @@ Lenovo Miix 3-830
Medion Akoya S2217
Chuwi Hi12
%package firmware
Group: System/Kernel and Hardware
Summary: Firmware files used by the rtl8723bs wireless driver
%description firmware
Firmware files used by the rtl8723bs wireless driver.
%debug_package
%prep
@ -96,12 +104,18 @@ fi
%files
%defattr(-,root,root)
%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf
%dir %{_prefix}/src/%{name}-%{version}
%{_prefix}/src/%{name}-%{version}/*
%files firmware
%defattr(-,root,root)
%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf
/lib/firmware/rtlwifi/rtl8723bs_*.bin
%changelog
* Wed Nov 22 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-4mamba
- split firmware files into a -firmware package
* Thu Mar 02 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-3mamba
- disable random mac address in NetworkManager configuration to fix driver unsupported set-hw-addr