|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate rusty-fork
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Library for running Rust tests in sub-processes using a fork-like interface
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -16,16 +15,15 @@ URL: https://crates.io/crates/rusty-fork
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(fnv/default) >= 1.0.0 with crate(fnv/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(quick-error/default) >= 1.2.0 with crate(quick-error/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) < 4.0.0)
|
|
|
|
|
BuildRequires: (crate(wait-timeout/default) >= 0.2.0 with crate(wait-timeout/default) < 0.3.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Cross-platform library for running Rust tests in sub-processes\
|
|
|
|
|
using a fork-like interface.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Cross-platform library for running Rust tests in sub-processes using a fork-
|
|
|
|
|
like interface.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -83,6 +81,9 @@ which use "wait-timeout" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -95,6 +96,9 @@ which use "wait-timeout" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 27 17:22:45 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Wed Apr 10 07:18:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-1
|
|
|
|
|
- Update to 0.2.2
|
|
|
|
|
|
|
|
|
|