From 24b876f4a6e1477b837bbdb7bf6853ca30a19ec9 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 19 Jul 2024 08:28:25 -0700 Subject: [PATCH] [f39] fix: nushell (#1493) (#1513) * fix: nushell (#1493) Signed-off-by: madomado (cherry picked from commit 7ad02ffc219eae771e8d30071687d8feaccc27c3) * fix buildrequires Signed-off-by: madomado --------- Signed-off-by: madomado Co-authored-by: madomado --- anda/langs/rust/nushell/nushell.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index f856f441ba..d389d8682d 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -4,19 +4,20 @@ Release: 1%?dist Summary: A new type of shell License: MIT URL: https://www.nushell.sh/ -Source0: https://github.com/nushell/nushell/archive/refs/tags/%version.tar.gz -BuildRequires: anda-srpm-macros rust-packaging openssl-devel +BuildRequires: anda-srpm-macros rust-packaging git-core +BuildRequires: openssl-devel Requires: glibc openssl zlib %description %summary. %prep -%autosetup +rm -rf ./* +git clone https://github.com/nushell/nushell -b %version --depth 1 . %cargo_prep_online %build -%{cargo_build -f extra} --workspace +%{cargo_build} --workspace %install mkdir -p %buildroot%_bindir