From efbdf982cf6ddfe305cafd568bd1673a941bd4b8 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 30 Jun 2026 00:31:45 -0500 Subject: [PATCH] chore (picotool): modernize spec (#13554) (#13567) --- anda/tools/picotool/picotool.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/anda/tools/picotool/picotool.spec b/anda/tools/picotool/picotool.spec index 397f886bdc..65d7104f40 100644 --- a/anda/tools/picotool/picotool.spec +++ b/anda/tools/picotool/picotool.spec @@ -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 %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 +* Mon Nov 18 2024 Owen Zimmerman - Package Raspberry Pi Picotools