fix(xone-nightly): Update script (#8260) (#8278)

* fix(xone-nightly): Update script



* chore: Spec



* chore: Release



---------


(cherry picked from commit af34c9b790)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-12-11 00:41:29 -08:00
committed by GitHub
parent 3b294423a1
commit f977827de6
2 changed files with 5 additions and 3 deletions
@@ -2,5 +2,7 @@ rpm.global("commit", gh_commit("dlundqvist/xone"));
if rpm.changed() {
rpm.release();
rpm.global("commitdate", date());
rpm.global("ver", gh("dlundqvist/xone"));
let v = gh("dlundqvist/xone");
v.crop(1);
rpm.global("ver", v);
}
@@ -1,7 +1,7 @@
%global commit e927febbedbf8d6f040ff081b0c6703738e7e8d2
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20251211
%global ver v0.5.0
%global ver 0.5.0
%global modulename xone
%global _dracutconfdir %{_prefix}/lib/dracut/dracut.conf.d
%global firmware_hash0 080ce4091e53a4ef3e5fe29939f51fd91f46d6a88be6d67eb6e99a5723b3a223
@@ -11,7 +11,7 @@
Name: xone-nightly
Version: %{ver}^%{commitdate}git.%{shortcommit}
Release: 1%?dist
Release: 2%?dist
%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10
Epoch: 1
%endif