chore (picotool): modernize spec (#13554) (#13565)

This commit is contained in:
Raboneko
2026-06-30 00:32:52 -05:00
committed by GitHub
parent 5926f222df
commit e323bd96f6
+8 -4
View File
@@ -4,7 +4,7 @@
Name: picotool
Version: %sanitized_ver
Release: 3%?dist
Release: 4%{?dist}
Summary: Tool to inspect RP2040 binaries
License: BSD-3-Clause
URL: https://github.com/raspberrypi/picotool
@@ -17,11 +17,16 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
%description
Picotool is a tool for inspecting RP2040 binaries, and interacting with RP2040 devices when they are in BOOTSEL mode.
%package devel
%pkg_devel_files
%prep
%autosetup -a 1 -n %name-%ver
%build
%conf
%cmake -DPICO_SDK_PATH="../pico-sdk-%sdk_version"
%build
%cmake_build
%install
@@ -33,9 +38,8 @@ mv %buildroot{%_prefix/lib,%_libdir}
%doc README.md
%license LICENSE.TXT
%_bindir/picotool
%_libdir/cmake/picotool/*
%_datadir/picotool/*
%changelog
* Mon Nov 18 2024 Owen-sz <owen@fyralabs.com>
* Mon Nov 18 2024 Owen Zimmerman <owen@fyralabs.com>
- Package Raspberry Pi Picotools