From 89118e5a2044067574051d51fb2636a153b8a007 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:20:02 -0700 Subject: [PATCH] fix: stardust-flatland (#2301) (#2302) * fix: stardust-flatland * fix export for STARDUST_RES_PREFIXES (cherry picked from commit 85824994775851dab4b844e2beb06e6432fc2189) Co-authored-by: madomado --- anda/stardust/flatland/stardust-flatland.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/anda/stardust/flatland/stardust-flatland.spec b/anda/stardust/flatland/stardust-flatland.spec index e6e32267f5..fdfb784cb9 100644 --- a/anda/stardust/flatland/stardust-flatland.spec +++ b/anda/stardust/flatland/stardust-flatland.spec @@ -6,7 +6,7 @@ Name: stardust-flatland Version: %commit_date.%shortcommit -Release: 1%?dist +Release: 2%?dist Summary: Flatland for Stardust XR. URL: https://github.com/StardustXR/flatland Source0: %url/archive/%commit/flatland-%commit.tar.gz @@ -24,15 +24,19 @@ Packager: Owen Zimmerman %cargo_prep_online %build -STARDUST_RES_PREFIXES=/usr/share %install %define __cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps --locked -STARDUST_RES_PREFIXES=%_datadir +export STARDUST_RES_PREFIXES=%_datadir %cargo_install +mkdir -p %buildroot%_datadir +cp -r res/* %buildroot%_datadir/ + + %files %_bindir/flatland +%_datadir/flatland/ %license LICENSE %doc README.md