fix(uwufetch): Update script (#9233) (#9258)

This commit is contained in:
Raboneko
2026-01-15 21:19:04 -08:00
committed by GitHub
parent 55aa00ac01
commit 9c1ff85eb3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,11 +1,11 @@
let json = get(`https://api.github.com/repos/ad-oliviero/uwufetch/commits/development`).json();
let c = json.sha;
let d = json.commit.author.date;
d.truncate(10);
rpm.global("commit", c);
if rpm.changed() {
rpm.release();
rpm.global("fulldate", d);
d.truncate(10);
let ver = gh_tag("ad-oliviero/uwufetch");
rpm.global("ver", ver);
}
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit fe9c53ffc6570454a3b2bf8431fd713e9953597e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global fulldate 2026-01-14T15:41:04Z
%global fulldate 2026-01-14
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global ver 2.1
%global debug_package %{nil}
@@ -11,7 +11,7 @@ Release: 1%?dist
Summary: A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
License: GPL-3.0
URL: https://github.com/ad-oliviero/uwufetch
BuildRequires: make gcc git anda-srpm-macros
BuildRequires: make gcc git anda-srpm-macros pciutils-devel
Requires: freecolor
Requires: xwininfo
Recommends: lshw