Do not pull optional dependencies

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

@ -7,19 +7,18 @@
Name: rust-%{crate}
Version: 0.4.10
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Vector with fixed capacity, backed by an array
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/arrayvec
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(nodrop) >= 0.1.12 with crate(nodrop) < 0.2.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.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)
@ -119,7 +118,7 @@ which use "std" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@ -134,6 +133,9 @@ which use "std" feature of "%{crate}" crate.
%endif
%changelog
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.10-3
- Do not pull optional dependencies
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save