mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-29 14:58:27 +00:00
Change some macro weirdness, new update scripts
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
rpm.global("commit", gh_commit("dlundqvist/xone"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("date", date());
|
||||
let ver = gh_tag("dlundqvist/xone");
|
||||
ver.crop(1);
|
||||
rpm.global("ver", ver);
|
||||
}
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
rpm.version(bump::madoguchi("xone-kmod-common", labels.branch));
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: xone-kmod
|
||||
Version: %{ver}%{!?tag:^%{date}git%{shortcommit}}
|
||||
Version: %{ver}^%{date}git%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%global dkms_name xone
|
||||
|
||||
Name: dkms-%{dkms_name}
|
||||
Version: %{ver}%{!?tag:^%{date}git%{shortcommit}}
|
||||
Version: %{ver}^%{date}git%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
rpm.global("commit", gh_commit("dlundqvist/xone"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("date", date());
|
||||
let ver = gh_tag("dlundqvist/xone");
|
||||
ver.crop(1);
|
||||
rpm.global("ver", ver);
|
||||
}
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
rpm.version(bump::madoguchi("xone-kmod-common", labels.branch));
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%global real_name xone
|
||||
|
||||
Name: %{real_name}-kmod-common
|
||||
Version: %{ver}%{!?tag:^%{date}git%{shortcommit}}
|
||||
Version: %{ver}^%{date}git%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories common files
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
Reference in New Issue
Block a user