diff --git a/rust-scoped_threadpool.spec b/rust-scoped_threadpool.spec index ab285e5..dd9dd98 100644 --- a/rust-scoped_threadpool.spec +++ b/rust-scoped_threadpool.spec @@ -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 - 0.1.9-5 +- Regenerate + * Sat Mar 09 2019 Igor Gnatenko - 0.1.9-4 - Run tests in infrastructure