From 119883c5fcec40e0650532cdbb808e06ee1f9175 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 6 Dec 2025 13:06:14 -0800 Subject: [PATCH] Update URLs and build steps (fix missing debug_package) (#8105) (#8109) (cherry picked from commit b554a3a86cd96835b1db8decf93789c1f5609985) Co-authored-by: june <159748074+june-fish@users.noreply.github.com> --- anda/langs/crystal/blahaj/blahaj.spec | 32 ++++++++++++--------------- anda/langs/crystal/blahaj/update.rhai | 4 +++- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/anda/langs/crystal/blahaj/blahaj.spec b/anda/langs/crystal/blahaj/blahaj.spec index c867a022a9..0888b53f97 100644 --- a/anda/langs/crystal/blahaj/blahaj.spec +++ b/anda/langs/crystal/blahaj/blahaj.spec @@ -1,14 +1,12 @@ -%define debug_package %nil - -Name: blahaj -Version: 2.2.0 -Release: 1%{?dist} -Summary: Gay sharks at your local terminal - lolcat-like CLI tool -License: BSD-2-Clause -URL: https://blahaj.queer.software -Source0: https://github.com/GeopJr/BLAHAJ/archive/refs/tags/v%version.tar.gz -BuildRequires: crystal gcc libyaml-devel pcre-devel libgc-devel libevent-devel -ExclusiveArch: x86_64 +Name: blahaj +Version: 2.2.0 +Release: 2%{?dist} +Summary: Gay sharks at your local terminal - lolcat-like CLI tool +License: BSD-2-Clause +URL: https://blahaj.geopjr.dev/ +Source0: https://codeberg.org/GeopJr/BLAHAJ/archive/v%{version}.tar.gz +BuildRequires: crystal shards make gcc libyaml-devel pcre-devel libgc-devel libevent-devel bash +ExclusiveArch: x86_64 %description Apart from a cute cuddly shark plushie from IKEA, BLĂ…HAJ is a lolcat-like CLI @@ -17,17 +15,13 @@ It has a wide variety of flags/colors to choose from and many options from flag size to whether to colorize by line, word or character. %prep -%autosetup -n BLAHAJ-%{version} +%autosetup -n %{name} %build -shards build --production --release -D "-fPIE" --link-flags "-pie" +shards build --production --release %install -mkdir -p %buildroot%_bindir -install -Dm755 bin/blahaj %buildroot%_bindir/ - -%check -crystal spec --order random -Dpreview_mt +%make_install %files %doc README.md @@ -35,5 +29,7 @@ crystal spec --order random -Dpreview_mt %_bindir/blahaj %changelog +* Sat Dec 06 2025 june-fish - 2.2.0-2 +- Update URLs and build steps (fix missing debug_package) * Sat Apr 15 2023 windowsboy111 - 2.0.1-1 - Initial package. diff --git a/anda/langs/crystal/blahaj/update.rhai b/anda/langs/crystal/blahaj/update.rhai index 773fba51d2..0eed23daed 100644 --- a/anda/langs/crystal/blahaj/update.rhai +++ b/anda/langs/crystal/blahaj/update.rhai @@ -1 +1,3 @@ -rpm.version(gh("GeopJr/BLAHAJ")); +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::codeberg("GeopJr/BLAHAJ"));