mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* fix: nushell (#1493)
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit 7ad02ffc21)
* fix buildrequires
Signed-off-by: madomado <madonuko@outlook.com>
---------
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user