chore(uwufetch): Update for semi-active branch (#7761) (#7767)

* chore(uwufetch): Update for new semi-active branch



* fix: Spec



* Try `gh`??



* fix: I see the issue...cursed



* Unintelligent moment



* Just do this



---------


(cherry picked from commit 872a56a20e)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-11-29 05:22:03 -08:00
committed by GitHub
parent f5745bfe1a
commit 57950dd120
2 changed files with 9 additions and 5 deletions
+6 -3
View File
@@ -1,8 +1,11 @@
rpm.global("commit", gh_commit("ad-oliviero/uwufetch"));
let json = get(`https://api.github.com/repos/ad-oliviero/uwufetch/commits/development`).json();
let c = json.sha;
let d = json.commit.author.date;
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
rpm.global("fulldate", d);
d.truncate(10);
let ver = gh_tag("ad-oliviero/uwufetch");
ver.crop(1);
rpm.global("ver", ver);
}
+3 -2
View File
@@ -1,7 +1,8 @@
%global commit f3d4503e72fa5b7dff466e527453cfbf2c95cc01
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20251128
%global ver .1
%global fulldate 2024-02-14
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global ver 2.1
%global debug_package %{nil}
Name: uwufetch