From 2b8d22e67b77a29710cbeb281b72326bbc1db6e2 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 20 May 2025 07:58:51 -0700 Subject: [PATCH] fix: rpi-utils (#4918) (#4929) --- anda/tools/rpi-utils/rpi-utils.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/anda/tools/rpi-utils/rpi-utils.spec b/anda/tools/rpi-utils/rpi-utils.spec index 79249d28ab..bb3e97ac0b 100644 --- a/anda/tools/rpi-utils/rpi-utils.spec +++ b/anda/tools/rpi-utils/rpi-utils.spec @@ -6,7 +6,7 @@ Name: rpi-utils Version: %{commit_date}.%{shortcommit} -Release: 1%?dist +Release: 2%?dist Summary: A collection of scripts and simple applications for Raspberry Pi devices License: BSD-3-Clause URL: https://github.com/raspberrypi/utils @@ -94,7 +94,7 @@ Summary: A tool to get VideoCore 'assert' or 'msg' logs with optional -f %autosetup -p1 -n utils-%commit %build -%cmake +%cmake -DBUILD_SHARED_LIBS=1 %cmake_build %install @@ -111,6 +111,8 @@ Summary: A tool to get VideoCore 'assert' or 'msg' logs with optional -f %{_mandir}/man1/dtoverlay.1.gz %{_mandir}/man1/dtparam.1.gz %{_mandir}/man2/dtoverlay.2.gz +%{_exec_prefix}/%{_lib}/libdtovl.so +%{_exec_prefix}/%{_lib}/libdtovl.so.0 %files eeptools %doc eeptools/README.md @@ -142,6 +144,8 @@ Summary: A tool to get VideoCore 'assert' or 'msg' logs with optional -f %license LICENCE %{_bindir}/pinctrl %{_datadir}/bash-completion/completions/pinctrl +%{_exec_prefix}/%{_lib}/libgpiolib.so.0 +%{_exec_prefix}/%{_lib}/libgpiolib.so %files piolib %doc piolib/README.md @@ -154,6 +158,8 @@ Summary: A tool to get VideoCore 'assert' or 'msg' logs with optional -f %{_bindir}/piows2812 %{_bindir}/quadenc %{_bindir}/rp1sm +%{_exec_prefix}/%{_lib}/libpio.so.0 +%{_exec_prefix}/%{_lib}/libpio.so %files vcgencmd %license LICENCE @@ -175,6 +181,9 @@ Summary: A tool to get VideoCore 'assert' or 'msg' logs with optional -f %{_mandir}/man7/raspirev.7.gz %changelog +* Mon May 19 2025 Owen-sz +- Build shared libraries + * Tue Dec 17 2024 sadlerm - Split into individual subpackages and no longer package raspinfo