Initial import (#2255544)

epel9 imports/e9/rust-ntest-0.9.0-1.el9
Fabio Valentini 1 year ago
parent fff4b7fc2c
commit 82e72bfd1f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/ntest-0.9.0.crate

@ -1,3 +0,0 @@
# rust-ntest
The rust-ntest package

@ -0,0 +1,71 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate ntest
Name: rust-ntest
Version: 0.9.0
Release: %autorelease
Summary: Testing framework for Rust
License: MIT
URL: https://crates.io/crates/ntest
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: dos2unix
%global _description %{expand:
Testing framework for rust which enhances the built-in library with some
useful features.}
%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
%doc %{crate_instdir}/README.md
%{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} -p1
dos2unix --keepdate README.md
%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,3 @@
[package]
summary = "Testing framework for Rust"

@ -0,0 +1 @@
SHA512 (ntest-0.9.0.crate) = 266b3d81addea3c6e8bbff0cb3c1411d4709e2f6f978e34743a7fea0f3f5b241209f8569c09f604331beb1338060a5f5c901b27e3e68d2741333aff63e059846
Loading…
Cancel
Save