From cb9788e14377dc5a0dc0435e4417edc2a277e152 Mon Sep 17 00:00:00 2001 From: madomado Date: Wed, 2 Jul 2025 21:19:40 +0800 Subject: [PATCH] fix(readymade): update deps and git clone (#5326) Signed-off-by: madomado --- anda/system/readymade/stable/readymade.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/anda/system/readymade/stable/readymade.spec b/anda/system/readymade/stable/readymade.spec index 36b68b70c5..91622a69bd 100644 --- a/anda/system/readymade/stable/readymade.spec +++ b/anda/system/readymade/stable/readymade.spec @@ -5,9 +5,9 @@ Summary: Install ready-made distribution images! License: GPL-3.0-or-later URL: https://github.com/FyraLabs/readymade Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +Source1: https://github.com/FyraLabs/rdms_proc_macros/archive/HEAD.tar.gz BuildRequires: anda-srpm-macros rust-packaging mold BuildRequires: pkgconfig(libhelium-1) -BuildRequires: pkgconfig(gnome-desktop-4) BuildRequires: clang-devel BuildRequires: cmake @@ -30,12 +30,15 @@ This package contains the configuration files for Readymade to install Ultramari %prep %autosetup +tar xf %{S:1} +rmdir taidan_proc_macros && mv rdms_proc_macros* taidan_proc_macros %cargo_prep_online %build +%{cargo_build} --locked %install -%cargo_install +%crate_install_bin ./install.sh %buildroot ln -sf %{_datadir}/applications/com.fyralabs.Readymade.desktop %{buildroot}%{_datadir}/applications/liveinst.desktop