add: stardust-comet-nightly (#9090) (#9104)

(cherry picked from commit 0b235b17bd)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-01-11 11:41:31 -08:00
committed by GitHub
parent 9eaa4735a3
commit 9f9d2dcb25
6 changed files with 56 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "stardust-comet-nightly.spec"
}
labels {
nightly = 1
}
}
@@ -0,0 +1,43 @@
%global commit 52b442c42d8b2938f16adfe42ab1ac0b5d29a137
%global commit_date 20251218
%global shortcommit %(c=%{commit}; echo ${c:0:7})
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
Name: stardust-xr-comet-nightly
Version: 0~%{commit_date}git.%{shortcommit}
Release: 1%?dist
Summary: Annotate things in Stardust XR
URL: https://github.com/StardustXR/comet
Source0: %url/archive/%commit/comet-%commit.tar.gz
License: MIT
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold
Provides: comet-nightly stardust-comet-nightly
Conflicts: stardust-xr-comet
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%summary.
%prep
%autosetup -n comet-%commit
%cargo_prep_online
%build
%install
%define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked
%cargo_install
%cargo_license_summary_online
%{cargo_license_online} > LICENSE.dependencies
%files
%_bindir/comet
%license LICENSE
%license LICENSE.dependencies
%doc README.md
%changelog
* Sun Jan 11 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit (port from stable)
+5
View File
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("StardustXR/comet"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}