Modernise spec
This commit is contained in:
parent
b60e20997a
commit
56910b29b9
@ -8,16 +8,15 @@ Name: linux-firmware
|
|||||||
Version: 20170828
|
Version: 20170828
|
||||||
Release: %{firmware_release}.git%{checkout}%{?dist}
|
Release: %{firmware_release}.git%{checkout}%{?dist}
|
||||||
Summary: Firmware files used by the Linux kernel
|
Summary: Firmware files used by the Linux kernel
|
||||||
|
|
||||||
Group: System Environment/Kernel
|
|
||||||
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
|
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
|
||||||
URL: http://www.kernel.org/
|
URL: http://www.kernel.org/
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch0: 0001-ath10k-QCA6174-hw3.0-update-firmware-6.bin-to-WLAN.R.patch
|
Patch0: 0001-ath10k-QCA6174-hw3.0-update-firmware-6.bin-to-WLAN.R.patch
|
||||||
Patch1: 0002-ath10k-QCA6174-hw3.0-update-board-2.bin.patch
|
Patch1: 0002-ath10k-QCA6174-hw3.0-update-board-2.bin.patch
|
||||||
Patch2: 0003-Revert-ath10k-QCA988X-hw2.0-update-firmware-to-10.2..patch
|
Patch2: 0003-Revert-ath10k-QCA988X-hw2.0-update-firmware-to-10.2..patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
|
||||||
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
|
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
|
||||||
Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
|
Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
|
||||||
Obsoletes: ueagle-atm4-firmware < 1.0-5
|
Obsoletes: ueagle-atm4-firmware < 1.0-5
|
||||||
@ -281,7 +280,6 @@ rm -f ctefx.bin ctspeq.bin
|
|||||||
rm -f check_whence.py
|
rm -f check_whence.py
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_firmwarepath}
|
mkdir -p $RPM_BUILD_ROOT/%{_firmwarepath}
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_firmwarepath}/updates
|
mkdir -p $RPM_BUILD_ROOT/%{_firmwarepath}/updates
|
||||||
cp -r * $RPM_BUILD_ROOT/%{_firmwarepath}
|
cp -r * $RPM_BUILD_ROOT/%{_firmwarepath}
|
||||||
@ -302,81 +300,64 @@ sed -i -e '/^iwlwifi/d' \
|
|||||||
sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs}
|
sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs}
|
||||||
sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
|
sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -n iwl100-firmware
|
%files -n iwl100-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-100-5.ucode
|
%{_firmwarepath}/iwlwifi-100-5.ucode
|
||||||
|
|
||||||
%files -n iwl105-firmware
|
%files -n iwl105-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-105-*.ucode
|
%{_firmwarepath}/iwlwifi-105-*.ucode
|
||||||
|
|
||||||
%files -n iwl135-firmware
|
%files -n iwl135-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-135-*.ucode
|
%{_firmwarepath}/iwlwifi-135-*.ucode
|
||||||
|
|
||||||
%files -n iwl1000-firmware
|
%files -n iwl1000-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-1000-*.ucode
|
%{_firmwarepath}/iwlwifi-1000-*.ucode
|
||||||
|
|
||||||
%files -n iwl2000-firmware
|
%files -n iwl2000-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-2000-*.ucode
|
%{_firmwarepath}/iwlwifi-2000-*.ucode
|
||||||
|
|
||||||
%files -n iwl2030-firmware
|
%files -n iwl2030-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-2030-*.ucode
|
%{_firmwarepath}/iwlwifi-2030-*.ucode
|
||||||
|
|
||||||
%files -n iwl3945-firmware
|
%files -n iwl3945-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-3945-*.ucode
|
%{_firmwarepath}/iwlwifi-3945-*.ucode
|
||||||
|
|
||||||
%files -n iwl4965-firmware
|
%files -n iwl4965-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-4965-*.ucode
|
%{_firmwarepath}/iwlwifi-4965-*.ucode
|
||||||
|
|
||||||
%files -n iwl5000-firmware
|
%files -n iwl5000-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-5000-*.ucode
|
%{_firmwarepath}/iwlwifi-5000-*.ucode
|
||||||
|
|
||||||
%files -n iwl5150-firmware
|
%files -n iwl5150-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-5150-*.ucode
|
%{_firmwarepath}/iwlwifi-5150-*.ucode
|
||||||
|
|
||||||
%files -n iwl6000-firmware
|
%files -n iwl6000-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-6000-*.ucode
|
%{_firmwarepath}/iwlwifi-6000-*.ucode
|
||||||
|
|
||||||
%files -n iwl6000g2a-firmware
|
%files -n iwl6000g2a-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-6000g2a-*.ucode
|
%{_firmwarepath}/iwlwifi-6000g2a-*.ucode
|
||||||
|
|
||||||
%files -n iwl6000g2b-firmware
|
%files -n iwl6000g2b-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-6000g2b-*.ucode
|
%{_firmwarepath}/iwlwifi-6000g2b-*.ucode
|
||||||
|
|
||||||
%files -n iwl6050-firmware
|
%files -n iwl6050-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-6050-*.ucode
|
%{_firmwarepath}/iwlwifi-6050-*.ucode
|
||||||
|
|
||||||
%files -n iwl7260-firmware
|
%files -n iwl7260-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-7260-*.ucode
|
%{_firmwarepath}/iwlwifi-7260-*.ucode
|
||||||
%{_firmwarepath}/iwlwifi-7265-*.ucode
|
%{_firmwarepath}/iwlwifi-7265-*.ucode
|
||||||
@ -385,43 +366,38 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_firmwarepath}/iwlwifi-8265-*.ucode
|
%{_firmwarepath}/iwlwifi-8265-*.ucode
|
||||||
|
|
||||||
%files -n iwl3160-firmware
|
%files -n iwl3160-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.iwlwifi_firmware
|
%license WHENCE LICENCE.iwlwifi_firmware
|
||||||
%{_firmwarepath}/iwlwifi-3160-*.ucode
|
%{_firmwarepath}/iwlwifi-3160-*.ucode
|
||||||
%{_firmwarepath}/iwlwifi-3168-*.ucode
|
%{_firmwarepath}/iwlwifi-3168-*.ucode
|
||||||
|
|
||||||
%files -n libertas-usb8388-firmware
|
%files -n libertas-usb8388-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.Marvell
|
%license WHENCE LICENCE.Marvell
|
||||||
%dir %{_firmwarepath}/libertas
|
%dir %{_firmwarepath}/libertas
|
||||||
%{_firmwarepath}/libertas/usb8388_v9.bin
|
%{_firmwarepath}/libertas/usb8388_v9.bin
|
||||||
|
|
||||||
%files -n libertas-usb8388-olpc-firmware
|
%files -n libertas-usb8388-olpc-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.Marvell
|
%license WHENCE LICENCE.Marvell
|
||||||
%dir %{_firmwarepath}/libertas
|
%dir %{_firmwarepath}/libertas
|
||||||
%{_firmwarepath}/libertas/usb8388_olpc.bin
|
%{_firmwarepath}/libertas/usb8388_olpc.bin
|
||||||
|
|
||||||
%files -n libertas-sd8686-firmware
|
%files -n libertas-sd8686-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.Marvell
|
%license WHENCE LICENCE.Marvell
|
||||||
%dir %{_firmwarepath}/libertas
|
%dir %{_firmwarepath}/libertas
|
||||||
%{_firmwarepath}/libertas/sd8686*
|
%{_firmwarepath}/libertas/sd8686*
|
||||||
|
|
||||||
%files -n libertas-sd8787-firmware
|
%files -n libertas-sd8787-firmware
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%license WHENCE LICENCE.Marvell
|
%license WHENCE LICENCE.Marvell
|
||||||
%dir %{_firmwarepath}/mrvl
|
%dir %{_firmwarepath}/mrvl
|
||||||
%{_firmwarepath}/mrvl/sd8787*
|
%{_firmwarepath}/mrvl/sd8787*
|
||||||
|
|
||||||
%files -f linux-firmware.files
|
%files -f linux-firmware.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_firmwarepath}
|
%dir %{_firmwarepath}
|
||||||
%license WHENCE LICENCE.* LICENSE.*
|
%license WHENCE LICENCE.* LICENSE.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Oct 11 2017 Peter Robinson <pbrobinson@fedoraproject.org>
|
* Wed Oct 11 2017 Peter Robinson <pbrobinson@fedoraproject.org>
|
||||||
- Ship the license in %%license for all sub packages
|
- Ship the license in %%license for all sub packages
|
||||||
|
- Modernise spec
|
||||||
|
|
||||||
* Mon Sep 18 2017 Josh Boyer <jwboyer@fedoraproject.org> - 20170828-77.gitb78acc9
|
* Mon Sep 18 2017 Josh Boyer <jwboyer@fedoraproject.org> - 20170828-77.gitb78acc9
|
||||||
- Add patches to fix ath10k regression (rhbz 1492161)
|
- Add patches to fix ath10k regression (rhbz 1492161)
|
||||||
|
Loading…
Reference in New Issue
Block a user