Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 3 years ago
parent 37f69f64cf
commit 0cd6667ab0

1
.gitignore vendored

@ -0,0 +1 @@
/nu-engine-0.61.0.crate

@ -0,0 +1,3 @@
[DEFAULT]
unwanted-features =
plugin

@ -0,0 +1,70 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate nu-engine
Name: rust-%{crate}
Version: 0.61.0
Release: %autorelease
Summary: Nushell's evaluation engine
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/nu-engine
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Nushell's evaluation engine.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (nu-engine-0.61.0.crate) = 0e15b9b2a18a49b290684c22e7479161d7192ccd6b837e1c7e926b6d8922c39c88cf0241802c5540502783453a98bde697e7f567a846edfd7be45f1a97257de9
Loading…
Cancel
Save