mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 01:42:18 +00:00
00f76322b2
(cherry picked from commit 78afecd45f)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
38 lines
848 B
RPMSpec
38 lines
848 B
RPMSpec
%define debug_package %nil
|
|
|
|
%global commit e30e6978b61abed7f6f665eff55dc74835c9de85
|
|
%global commit_date 20251219
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
Name: rpi-update
|
|
Version: %commit_date.git~%shortcommit
|
|
Release: 2%?dist
|
|
Summary: An easier way to update the firmware of your Raspberry Pi.
|
|
License: MIT
|
|
URL: https://github.com/raspberrypi/rpi-update
|
|
Source0: %url/archive/%commit.tar.gz
|
|
Requires: bash
|
|
ExclusiveArch: aarch64
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%summary
|
|
|
|
%prep
|
|
%autosetup -n rpi-update-%commit
|
|
|
|
%build
|
|
|
|
%install
|
|
install -Dm755 rpi-update %buildroot%_bindir/rpi-update
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%_bindir/rpi-update
|
|
|
|
%changelog
|
|
* Sat Dec 14 2024 Owen Zimmerman <owen@fyralabs.com>
|
|
- Package rpi-update
|