[packages/raspberrypi-firmware] up to 1.20211007
atler
atler at pld-linux.org
Tue Nov 2 01:02:16 CET 2021
commit d829ecd0e3ab8c8cf96938cb0ee0f423b5fbdef4
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Nov 1 12:33:05 2021 +0100
up to 1.20211007
- switch Source0 to tag tarballs
raspberrypi-firmware.spec | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/raspberrypi-firmware.spec b/raspberrypi-firmware.spec
index d7b23ba..6806b26 100644
--- a/raspberrypi-firmware.spec
+++ b/raspberrypi-firmware.spec
@@ -1,16 +1,14 @@
Summary: Firmware for the Broadcom bcm283x/bcm2711 used in the Raspberry Pi
Name: raspberrypi-firmware
-Version: 20210405
+Version: 1.20211007
Release: 1
+Epoch: 1
# see LICENSE.broadcom
# DT Overlays covered under Linux Kernel GPLv2
License: Redistributable, no modification permitted
Group: Base/Kernel
-# git clone https://github.com/raspberrypi/firmware.git
-# cd firmware/boot
-# tar cJf ../raspberrypi-firmware-%{version}.tar.xz *bin *dat *elf bcm*dtb LICENCE.broadcom COPYING.linux overlays/
-Source0: %{name}-%{version}.tar.xz
-# Source0-md5: 4dd61c53af0f6e8d361f7a454001ee29
+Source0: https://github.com/raspberrypi/firmware/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 76d49f346f3b19fdc77a6de425b2646c
URL: https://github.com/raspberrypi/firmware/
BuildRequires: tar >= 1:1.22
BuildRequires: xz
@@ -24,11 +22,12 @@ Firmware for the Broadcom bcm283x and bcm2711 series of systems on a
chip as shipped in the Raspberry Pi series of devices.
%prep
-%setup -qc
+%setup -q -n firmware-%{version}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/boot/firmware
+cd boot
cp -pr *.{bin,dat,elf,dtb} overlays $RPM_BUILD_ROOT/boot/firmware
%clean
@@ -36,7 +35,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc LICENCE.broadcom COPYING.linux
+%doc boot/LICENCE.broadcom boot/COPYING.linux
%dir /boot/firmware
/boot/firmware/*.dtb
/boot/firmware/fixup*.dat
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/raspberrypi-firmware.git/commitdiff/d829ecd0e3ab8c8cf96938cb0ee0f423b5fbdef4
More information about the pld-cvs-commit
mailing list