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"));