From 1761c7992bd99d9526b25f3fda335c9815d592a0 Mon Sep 17 00:00:00 2001
From: Bryan Zuelly <bzuelly@outlook.com>
Date: Sun, 9 Mar 2025 17:48:41 +0000
Subject: [PATCH] fixed license file

---
 SPECS/rpi-firmware-bluez.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/SPECS/rpi-firmware-bluez.spec b/SPECS/rpi-firmware-bluez.spec
index c794b7c..bea06d0 100644
--- a/SPECS/rpi-firmware-bluez.spec
+++ b/SPECS/rpi-firmware-bluez.spec
@@ -3,13 +3,13 @@
 %global	bluez_srcdir	bluez-firmware-%{bluez_commit}
 
 Name:		rpi-firmware-bluez
-Version:	20221219
+Version:	1.2
 Release:	1%{?dist}
 Summary:	Supplemental firmware used by Linux kernel for some Raspberry Pi models
 BuildArch:	noarch
 ExclusiveArch:	aarch64
 
-License:	GPLv2
+License:	CYPRESS-WIRELESS-CONNECTIVITY-DEVICES-DRIVER-END-USER-LICENSE-AGREEMENT
 URL:		https://github.com/RPi-Distro/bluez-firmware
 
 Source0:	https://github.com/RPi-Distro/bluez-firmware/archive/%{bluez_commit}/bluez-firmware-%{bluez_commit}.tar.gz
@@ -27,8 +27,10 @@ package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
 
 %install
 install -d %{buildroot}%{_fwpath}/brcm
+install -d %{buildroot}/usr/share/licenses/%{name}
+
+cp debian/copyright %{buildroot}/usr/share/licenses/%{name}/
 
-ls %{buildroot}
 # Bluetooth for RPi Zero 2W
 cp broadcom/BCM43430B0.hcd %{buildroot}%{_fwpath}/brcm/
 # Bluetooth for RPi 3B+, 4, 5
@@ -49,6 +51,7 @@ ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43455-sdio.r
 ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
 
 %files
+%license copyright
 %{_fwpath}/brcm/*
 
 %changelog
-- 
GitLab