Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 68937e6019
commit 1d9bae4482
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,28 +1,28 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate scoped_threadpool
Name: rust-%{crate}
Version: 0.1.9
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Library for scoped and cached threadpools
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/scoped_threadpool
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%if %{with check}
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
%endif
%global _description \
A library for scoped and cached threadpools.
%global _description %{expand:
Library for scoped and cached threadpools.}
%description %{_description}
@ -52,10 +52,25 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages
which use "nightly" feature of "%{crate}" crate.
%files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -68,6 +83,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Jun 23 11:28:00 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.9-5
- Regenerate
* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.9-4
- Run tests in infrastructure

Loading…
Cancel
Save