|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global __cargo_is_bin() false
|
|
|
|
@ -9,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Crate to wait on a child process with a timeout
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -18,13 +17,15 @@ URL: https://crates.io/crates/wait-timeout
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
A crate to wait on a child process with a timeout specified across Unix and\
|
|
|
|
|
Windows platforms.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Crate to wait on a child process with a timeout specified across Unix and
|
|
|
|
|
Windows platforms.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -58,6 +59,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -70,6 +74,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 27 17:21:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Fri Apr 05 09:05:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
|
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
|
|
|
|
|