From 66094f8083debadef4577cdb629fd47fce7dc94c Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 15 Jun 2025 09:56:59 -0700 Subject: [PATCH] fix(hypridle): trim the version correctly (#5453) (#5456) (cherry picked from commit 273ab3f944ecdf607189b30a6356cf0f2931690b) Signed-off-by: madomado Co-authored-by: madomado --- anda/desktops/waylands/hypridle/hypridle.spec | 2 -- anda/desktops/waylands/hypridle/update.rhai | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/desktops/waylands/hypridle/hypridle.spec b/anda/desktops/waylands/hypridle/hypridle.spec index b6fb030629..adb485360b 100644 --- a/anda/desktops/waylands/hypridle/hypridle.spec +++ b/anda/desktops/waylands/hypridle/hypridle.spec @@ -1,7 +1,5 @@ Name: hypridle Version: 0.1.6 - - Release: 1%?dist Summary: Hyprland's idle daemon License: BSD-3-Clause diff --git a/anda/desktops/waylands/hypridle/update.rhai b/anda/desktops/waylands/hypridle/update.rhai index 8e2dce705f..2c18c969ae 100644 --- a/anda/desktops/waylands/hypridle/update.rhai +++ b/anda/desktops/waylands/hypridle/update.rhai @@ -1 +1,3 @@ -rpm.version(gh_rawfile("hyprwm/hypridle", "main", "VERSION")); +let v = gh_rawfile("hyprwm/hypridle", "main", "VERSION"); +v.trim(); +rpm.version(v);