Initial package (rhbz#2239036)

epel9 imports/e9/rust-libtest-mimic-0.6.1-1.el9
blinxen 1 year ago
parent 17e8966701
commit b1d688a601

1
.gitignore vendored

@ -0,0 +1 @@
/libtest-mimic-0.6.1.crate

@ -1,3 +0,0 @@
# rust-libtest-mimic
The rust-libtest-mimic package

@ -0,0 +1,72 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate libtest-mimic
Name: rust-libtest-mimic
Version: 0.6.1
Release: %autorelease
Summary: Test harness that looks and behaves like rustc's built-in test harness
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/libtest-mimic
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Write your own test harness that looks and behaves like the built-in
test harness used by `rustc --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}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%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_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,2 @@
[DEFAULT]
summary = Test harness that looks and behaves like rustc's built-in test harness

@ -0,0 +1 @@
SHA512 (libtest-mimic-0.6.1.crate) = 16f22d0c1c54b66b8ea5ae5702f8fff3f40bb210cc92069e3ab4a25a4a665ae2020de5d6e82902e236fdb097b9477fbee6edd085f3d2e764c320eb3a3b7c9141
Loading…
Cancel
Save