Skip to content

Commit

Permalink
[f40] fix: nushell (#1493) (#1514)
Browse files Browse the repository at this point in the history
* fix: nushell (#1493)

Signed-off-by: madomado <[email protected]>
(cherry picked from commit 7ad02ff)

* fix buildrequires

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
Co-authored-by: madomado <[email protected]>
  • Loading branch information
raboneko and madonuko authored Jul 19, 2024
1 parent c63064d commit 342acaf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions anda/langs/rust/nushell/nushell.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 342acaf

Please sign in to comment.