From 7397ec597ccb9c1805c5fcf2482f8bc09488da0a Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 10 Jan 2026 21:33:38 -0800 Subject: [PATCH] chore: switch stardust-atmosphere to version based (#9026) (#9076) (cherry picked from commit d695c880e822e57b690e87674f22486decc2789c) Signed-off-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/stardust/atmosphere/anda.hcl | 5 +---- anda/stardust/atmosphere/stardust-atmosphere.spec | 15 ++++++++------- anda/stardust/atmosphere/update.rhai | 6 +----- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/anda/stardust/atmosphere/anda.hcl b/anda/stardust/atmosphere/anda.hcl index 5a82bc12e7..74a7c681c3 100644 --- a/anda/stardust/atmosphere/anda.hcl +++ b/anda/stardust/atmosphere/anda.hcl @@ -2,7 +2,4 @@ project pkg { rpm { spec = "stardust-atmosphere.spec" } - labels { - nightly = 1 - } -} \ No newline at end of file +} diff --git a/anda/stardust/atmosphere/stardust-atmosphere.spec b/anda/stardust/atmosphere/stardust-atmosphere.spec index dcbd579d21..5e2f67e460 100644 --- a/anda/stardust/atmosphere/stardust-atmosphere.spec +++ b/anda/stardust/atmosphere/stardust-atmosphere.spec @@ -1,15 +1,13 @@ -%global commit af38adafe7491498c48905b77518f8a6e9541f67 -%global commit_date 20251202 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-atmosphere -Version: %commit_date.%shortcommit -Release: 2%?dist +Version: 0.5.0 +Release: 1%?dist +Epoch: 1 Summary: Environment, homespace, and setup client for Stardust XR URL: https://github.com/StardustXR/atmosphere -Source0: %url/archive/%commit/atmosphere-%commit.tar.gz +Source0: %url/archive/refs/tags/%version.tar.gz License: MIT BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros mold libudev-devel g++ libinput-devel libxkbcommon-x11-devel @@ -20,7 +18,7 @@ Packager: Owen Zimmerman %summary. %prep -%autosetup -n atmosphere-%commit +%autosetup -n atmosphere-%version %cargo_prep_online %build @@ -38,5 +36,8 @@ Packager: Owen Zimmerman %doc README.md %changelog +* Sat Jan 10 2026 Owen Zimmerman +- Switch to version based + * Tue Sep 10 2024 Owen-sz - Package StardustXR atmosphere diff --git a/anda/stardust/atmosphere/update.rhai b/anda/stardust/atmosphere/update.rhai index a375acf6ce..f9bbc21252 100644 --- a/anda/stardust/atmosphere/update.rhai +++ b/anda/stardust/atmosphere/update.rhai @@ -1,5 +1 @@ -rpm.global("commit", gh_commit("StardustXR/atmosphere")); -if rpm.changed() { - rpm.release(); - rpm.global("commit_date", date()); -} \ No newline at end of file +rpm.version(gh_tag("StardustXR/atmosphere"));