chore: switch stardust-server to version based (#9033) (#9061)

(cherry picked from commit 0969483b72)

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-10 21:23:29 -08:00
committed by GitHub
parent f5e257bc0f
commit c4ab77c344
3 changed files with 8 additions and 12 deletions
-1
View File
@@ -3,7 +3,6 @@ project pkg {
spec = "stardust-server.spec"
}
labels {
nightly = 1
large = 1
}
}
+7 -6
View File
@@ -1,15 +1,13 @@
%global commit f0545414201aa1c825e2546ee98aae010100bffd
%global commit_date 20251225
%global shortcommit %(c=%{commit}; echo ${c:0:7})
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
Name: stardust-xr-server
Version: %commit_date.%shortcommit
Version: 0.50.2
Release: 1%?dist
Epoch: 1
Summary: Usable Linux display server that reinvents human-computer interaction for all kinds of XR
URL: https://github.com/StardustXR/server
Source0: %url/archive/%commit/server-%commit.tar.gz
Source0: %url/archive/refs/tags/%version.tar.gz
License: GPL-2.0-only
BuildRequires: cargo
@@ -33,7 +31,7 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
Usable Linux display server that reinvents human-computer interaction for all kinds of XR, from putting 2D/XR apps into various 3D shells for varying uses to SDF-based interaction.
%prep
%autosetup -n server-%commit
%autosetup -n server-%version
%cargo_prep_online
%build
@@ -51,6 +49,9 @@ install -Dm755 target/rpm/stardust-xr-server %{buildroot}%{_bindir}/stardust-xr-
%doc README.md
%changelog
* Sat Jan 10 2026 Owen Zimmerman <owen@fyralabs.com>
- Switch to version based
* Tue Dec 02 2025 Owen Zimmerman <owen@fyralabs.com>
- Update spec to reflect upstream changes, add LICENSE.dependencies
+1 -5
View File
@@ -1,5 +1 @@
rpm.global("commit", gh_commit("StardustXR/server"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
rpm.version(gh_tag("StardustXR/server"));