Initial import (#2247854)

epel9 imports/e9/rust-rstest_reuse-0.6.0-1.el9
Fabio Valentini 1 year ago
parent e42f85c50b
commit 449a89855b
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/rstest_reuse-0.6.0.crate

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

@ -0,0 +1,73 @@
# Generated by rust2rpm 25
# * missing dev-dependency: rstest_test ^0.11
%bcond_with check
%global debug_package %{nil}
%global crate rstest_reuse
Name: rust-rstest_reuse
Version: 0.6.0
Release: %autorelease
Summary: Reusable test attributes for rstest
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/rstest_reuse
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Reuse rstest attributes: create a set of tests and apply it to every
scenario you want to test.}
%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}/LICENCE-MIT
%license %{crate_instdir}/LICENSE-APACHE
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/checkoutlist.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
%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,5 @@
[package]
summary = "Reusable test attributes for rstest"
description = """\
Reuse rstest attributes: create a set of tests and apply it to every
scenario you want to test."""

@ -0,0 +1 @@
SHA512 (rstest_reuse-0.6.0.crate) = b8a4c6c0484587e7f88153a2cf20e8c3ca9c48a46cb93a686a40be642743d2952158232c36a5078abd81722ea8fba2981ffe31585052771bec7cf29976417705
Loading…
Cancel
Save