diff --git a/rust-arrayvec.spec b/rust-arrayvec.spec index 0de7e58..a40f9a6 100644 --- a/rust-arrayvec.spec +++ b/rust-arrayvec.spec @@ -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 arrayvec Name: rust-%{crate} Version: 0.4.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Vector with fixed capacity, backed by an array # Upstream license specification: MIT/Apache-2.0 @@ -16,18 +15,15 @@ URL: https://crates.io/crates/arrayvec Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(nodrop) >= 0.1.12 with crate(nodrop) < 0.2.0) -%if %{with check} -BuildRequires: (crate(bencher/default) >= 0.1.4 with crate(bencher/default) < 0.2.0) -BuildRequires: (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0) -BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0) -%endif -%global _description \ -A vector with fixed capacity, backed by an array (it can be stored on the stack\ -too). Implements fixed capacity ArrayVec and ArrayString. +%global _description %{expand: +Vector with fixed capacity, backed by an array (it can be stored on the stack +too). Implements fixed capacity ArrayVec and ArrayString.} %description %{_description} @@ -117,10 +113,25 @@ which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+use_union-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_union-devel %{_description} + +This package contains library source intended for building other packages +which use "use_union" feature of "%{crate}" crate. + +%files -n %{name}+use_union-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 @@ -133,6 +144,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 11:38:19 CEST 2019 Igor Gnatenko - 0.4.10-4 +- Regenerate + * Sun Mar 10 2019 Igor Gnatenko - 0.4.10-3 - Do not pull optional dependencies