From 653079f0b35122f4257ea8d8b97f1d8e6b2483b2 Mon Sep 17 00:00:00 2001 From: Gilver Date: Mon, 16 Jun 2025 11:41:46 -0500 Subject: [PATCH] chore(edit): RUSTC_BOOSTRAP=1 is enough now (#5508) Signed-off-by: Gilver --- anda/devs/edit/edit.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/anda/devs/edit/edit.spec b/anda/devs/edit/edit.spec index fae483f397..e442deab3c 100644 --- a/anda/devs/edit/edit.spec +++ b/anda/devs/edit/edit.spec @@ -1,12 +1,7 @@ %global _description %{expand: An editor that pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code.} %global crate edit -%bcond rust_nightly 1 -%if %{with rust_nightly} -%define __cargo /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='%{build_rustflags}' $HOME/.cargo/bin/cargo -%define __rustc $HOME/.cargo/bin/rustc -%define __rustdoc $HOME/.cargo/bin/rustdoc -%endif +%bcond rust_nightly 0 Name: %{crate} Version: 1.2.0 @@ -29,10 +24,7 @@ Packager: Gilver E. %prep %autosetup -n %{name}-%{version} %if %{with rust_nightly} -rustup-init -y -. "$HOME/.cargo/env" -rustup toolchain install nightly -rustup override set nightly +%rustup_nightly %endif %cargo_prep_online