From 4fed2e9490a5e19369a9238fa5ed838c7e1f367d Mon Sep 17 00:00:00 2001 From: Gilver Date: Tue, 10 Feb 2026 19:20:51 -0600 Subject: [PATCH] fix(holyc): Account for C silliness (#9795) * fix(holyc): hcc --version output and update script * cleanup: Remove %check * fic(holyc): Account for C silliness --------- Signed-off-by: Gilver --- anda/langs/holyc/holyc/holyc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/anda/langs/holyc/holyc/holyc.spec b/anda/langs/holyc/holyc/holyc.spec index f9dfd8fdb0..cc4a496e70 100644 --- a/anda/langs/holyc/holyc/holyc.spec +++ b/anda/langs/holyc/holyc/holyc.spec @@ -2,7 +2,7 @@ Name: holyc Version: %{ver}~beta -Release: 2%{?dist} +Release: 3%{?dist} Summary: HolyC compiler and transpiler License: BSD-2-Clause URL: https://holyc-lang.com @@ -25,7 +25,7 @@ Originally implemented in TempleOS as a general purpose programming language and # Make packaged versions of HolyC report the correct Git hash sed -i 's|git rev-parse main|git rev-parse HEAD|g' CMakeLists.txt # Make the binary correctly report its installed location as /usr/bin instead of /usr -sed -i 's|binary: %s/hcc|binary: %{_bindir}/hcc|g' cli.c +sed -i 's|binary: %%s/hcc|binary: %%s/bin/hcc|g' cli.c %build %cmake \ @@ -36,6 +36,9 @@ sed -i 's|binary: %s/hcc|binary: %{_bindir}/hcc|g' cli.c %install %cmake_install +%check +%{buildroot}%{_bindir}/hcc --version + %files %license ../COPYING %doc ../README.md