Do not pull optional dependencies

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

@ -7,13 +7,13 @@
Name: rust-%{crate}0.5 Name: rust-%{crate}0.5
Version: 0.5.6 Version: 0.5.6
Release: 2%{?dist} Release: 3%{?dist}
Summary: Random number generators and other randomness functionality Summary: Random number generators and other randomness functionality
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/rand URL: https://crates.io/crates/rand
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * Exclude CI files, https://github.com/rust-random/rand/pull/635 # * Exclude CI files, https://github.com/rust-random/rand/pull/635
# * Remove non-unix dependencies # * Remove non-unix dependencies
@ -23,13 +23,9 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
BuildRequires: (crate(rand_core) >= 0.3.0 with crate(rand_core) < 0.4.0) BuildRequires: (crate(rand_core) >= 0.3.0 with crate(rand_core) < 0.4.0)
BuildRequires: (crate(rand_core/alloc) >= 0.3.0 with crate(rand_core/alloc) < 0.4.0) BuildRequires: (crate(rand_core/alloc) >= 0.3.0 with crate(rand_core/alloc) < 0.4.0)
BuildRequires: (crate(rand_core/serde1) >= 0.3.0 with crate(rand_core/serde1) < 0.4.0)
BuildRequires: (crate(rand_core/std) >= 0.3.0 with crate(rand_core/std) < 0.4.0) BuildRequires: (crate(rand_core/std) >= 0.3.0 with crate(rand_core/std) < 0.4.0)
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
%if %{with check} %if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
%endif %endif
@ -163,7 +159,7 @@ which use "std" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%build %build
@ -178,6 +174,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-3
- Do not pull optional dependencies
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save