From 65231e0257493e1b737a026a562d7b2fda1bf4d6 Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 11 Jul 2024 00:28:28 +0800 Subject: [PATCH 1/5] fix: nushell Signed-off-by: madomado --- anda/langs/rust/nushell/nushell.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index f856f441ba..4f2ae80575 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -16,7 +16,7 @@ Requires: glibc openssl zlib %cargo_prep_online %build -%{cargo_build -f extra} --workspace +%cargo_build --workspace %install mkdir -p %buildroot%_bindir From f48d9b84d7845b96767972044051013236c450bb Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 11 Jul 2024 00:46:25 +0800 Subject: [PATCH 2/5] Update nushell.spec Signed-off-by: madomado --- anda/langs/rust/nushell/nushell.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index 4f2ae80575..392172a801 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -16,7 +16,7 @@ Requires: glibc openssl zlib %cargo_prep_online %build -%cargo_build --workspace +%{cargo_build} --workspace %install mkdir -p %buildroot%_bindir From 23d4ab6e7efc1b8e34d9dd991d28f4aaf2c800b5 Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 11 Jul 2024 00:59:30 +0800 Subject: [PATCH 3/5] git clone? Signed-off-by: madomado --- anda/langs/rust/nushell/nushell.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index 392172a801..781084084c 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -4,15 +4,15 @@ 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 openssl-devel git-core Requires: glibc openssl zlib %description %summary. %prep -%autosetup +rm -rf ./* +git clone https://github.com/nushell/nushell -b %version --depth 0 . %cargo_prep_online %build From 3569f5aace143d61b68469f3360f1e434edb7be4 Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 11 Jul 2024 01:01:32 +0800 Subject: [PATCH 4/5] depth 1 Signed-off-by: madomado --- anda/langs/rust/nushell/nushell.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index 781084084c..86c29f82d7 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -12,7 +12,7 @@ Requires: glibc openssl zlib %prep rm -rf ./* -git clone https://github.com/nushell/nushell -b %version --depth 0 . +git clone https://github.com/nushell/nushell -b %version --depth 1 . %cargo_prep_online %build From 5f3b19472384baebacf763a005447714cedfaff7 Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 11 Jul 2024 01:12:21 +0800 Subject: [PATCH 5/5] Update nushell.spec Signed-off-by: madomado --- anda/langs/rust/nushell/nushell.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec index 86c29f82d7..e79e271cde 100644 --- a/anda/langs/rust/nushell/nushell.spec +++ b/anda/langs/rust/nushell/nushell.spec @@ -4,7 +4,8 @@ Release: 1%?dist Summary: A new type of shell License: MIT URL: https://www.nushell.sh/ -BuildRequires: anda-srpm-macros rust-packaging openssl-devel git-core +BuildRequires: anda-srpm-macros rust-packaging git-core +BuildRequires: openssl-devel-engine Requires: glibc openssl zlib %description