From 45ed95988b8f2d6c9d603be025ef79e293d3fc9f Mon Sep 17 00:00:00 2001
From: Koichiro Iwao
Date: Wed, 29 May 2024 05:23:35 +0000
Subject: [PATCH] Fix symlink typo, date in changelog and add missing file
(cherry picked from commit c98e100b2eb21c0b158f074907569ce51d0726c8)
---
SPECS/linux-firmware-raspberrypi.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/SPECS/linux-firmware-raspberrypi.spec b/SPECS/linux-firmware-raspberrypi.spec
index 7356f0c..a9ed21c 100644
--- a/SPECS/linux-firmware-raspberrypi.spec
+++ b/SPECS/linux-firmware-raspberrypi.spec
@@ -8,7 +8,7 @@
Name: linux-firmware-raspberrypi
Version: 20240528
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
BuildArch: noarch
@@ -34,6 +34,7 @@ package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
%install
install -d %{buildroot}%{_firmwarepath}/brcm
+install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43455-sdio.txt %{buildroot}%{_firmwarepath}/brcm/
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.txt %{buildroot}%{_firmwarepath}/brcm/
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.bin %{buildroot}%{_firmwarepath}/brcm/
install -c -m 644 debian/config/brcm80211/brcm/brcmfmac43456-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/
@@ -45,6 +46,7 @@ install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C0.hcd %{buildroo
# Bluetooth for RPi 400
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C5.hcd %{buildroot}%{_firmwarepath}/brcm/
# Other firmware files installed by linux-firmware are compressed, so compress these as well
+xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.txt
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.bin
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.clm_blob
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.txt
@@ -61,13 +63,16 @@ ln -s brcmfmac43456-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-
ln -s BCM4345C0.hcd.xz %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd.xz
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin.xz
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
-ln -s brcmfmac43455-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,5-model-b.txt.xz
+ln -s brcmfmac43455-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt.xz
%files
%{_firmwarepath}/brcm/*
%changelog
-* Fri Nov 17 2023 Koichiro Iwao - 20240528-1
+* Tue May 28 2024 Koichiro Iwao - 20240528-2
+- Fix symlink typo and add missing file
+
+* Tue May 28 2024 Koichiro Iwao - 20240528-1
- Update firmware-nonfree to 223ccf3
- Add symlink for RPi 5