mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-05 19:32:18 +00:00
change update script and version scheme
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global ver 5.0.0
|
||||
|
||||
%global commit e18b3699c3fbefe050d3c057e6ea2585e10410d8
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260604
|
||||
%global upstreamname noctalia-shell
|
||||
|
||||
Name: noctalia-git
|
||||
Version: 5.0.0
|
||||
Release: 0.140.git%{shortcommit}%{?dist}
|
||||
Version: %{ver}^%{commitdate}git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: A lightweight Wayland shell and bar built directly on Wayland + OpenGL ES, with no Qt or GTK dependency
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
rpm.global("commit", gh_commit("noctalia-dev/noctalia-shell"));
|
||||
rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-shell/commits/v5").json().sha);
|
||||
if rpm.changed() {
|
||||
// rpm.global("ver", gh("noctalia-dev/noctalia-shell"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user