From e36277e4a9ca942703d7ece892dd807e6b5c1b81 Mon Sep 17 00:00:00 2001 From: Gilver Date: Fri, 15 May 2026 16:41:29 -0500 Subject: [PATCH] chore(falcond): Update spec (#12301) * chore(falcond): Update spec * chore: Better changelog * Install? * cleanup: The glibc thing is just weird IDEK --- anda/system/falcond/falcond.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/anda/system/falcond/falcond.spec b/anda/system/falcond/falcond.spec index b29618b0d4..fd725e9530 100644 --- a/anda/system/falcond/falcond.spec +++ b/anda/system/falcond/falcond.spec @@ -1,5 +1,3 @@ -%global _include_minidebuginfo 0 - Name: falcond Version: 2.0.6 Release: 1%{?dist} @@ -7,9 +5,9 @@ Summary: Advanced Linux Gaming Performance Daemon License: MIT URL: https://git.pika-os.com/general-packages/falcond Source0: %{url}/archive/v%{version}.tar.gz -BuildRequires: anda-srpm-macros >= 0.2.18 +BuildRequires: anda-srpm-macros >= 0.3.9 BuildRequires: systemd-rpm-macros -BuildRequires: zig >= 0.15.2 +BuildRequires: zig >= 0.16.0 BuildRequires: zig-rpm-macros Requires: %{name}-profiles Requires: (scx-scheds or scx-scheds-nightly) @@ -25,18 +23,18 @@ This eliminates the need to manually configure settings for each game. %prep %autosetup -n %{name}/%{name} +%zig_prep %build %install -install -Dm644 debian/%{name}.service -t %{buildroot}%{_unitdir} # When DNF supports microarchitectures the fallback option for -c can be used here instead -DESTDIR="%{buildroot}" \ %ifarch x86_64 -%{zig_build_target -r fast -cx86_64_v2 -s} \ +%{zig_install_target -r fast -Cx86_64_v2 -s} %elifarch aarch64 -%{zig_build_target -r fast -s} \ +%{zig_install_target -r fast -s} %endif +install -Dm644 debian/%{name}.service -t %{buildroot}%{_unitdir} %pre # Create falcond group if it doesn't exist @@ -61,6 +59,9 @@ usermod -aG 'falcond' root || : %{_unitdir}/%{name}.service %changelog +* Thu May 14 2026 Gilver E. - 2.0.6-2 +- Updated for Zig and zig-rpm-macros 0.16.0 +- Updated for anda-srpm-macros 0.3.9 * Thu Jan 1 2026 Gilver E. - 1.2.1-2 - Disabled service by default in favor of user enablement via falcond-gui - Added weak dep on falcond-gui