fix(hypridle): trim the version correctly (#5453) (#5456)

(cherry picked from commit 273ab3f944)

Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2025-06-15 09:56:59 -07:00
committed by GitHub
parent b6ab9fdb52
commit 66094f8083
2 changed files with 3 additions and 3 deletions
@@ -1,7 +1,5 @@
Name: hypridle
Version: 0.1.6
Release: 1%?dist
Summary: Hyprland's idle daemon
License: BSD-3-Clause
+3 -1
View File
@@ -1 +1,3 @@
rpm.version(gh_rawfile("hyprwm/hypridle", "main", "VERSION"));
let v = gh_rawfile("hyprwm/hypridle", "main", "VERSION");
v.trim();
rpm.version(v);