Do not pull optional dependencies

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

@ -6,13 +6,13 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.39 Version: 0.1.39
Release: 5%{?dist} Release: 6%{?dist}
Summary: Integer traits and functions Summary: Integer traits and functions
# 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/num-integer URL: https://crates.io/crates/num-integer
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-num/num-integer/pull/13 # * Exclude CI files, https://github.com/rust-num/num-integer/pull/13
Patch0: num-integer-fix-metadata.diff Patch0: num-integer-fix-metadata.diff
@ -21,7 +21,6 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0) BuildRequires: (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0)
BuildRequires: (crate(num-traits/i128) >= 0.2.4 with crate(num-traits/i128) < 0.3.0)
BuildRequires: (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3.0) BuildRequires: (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3.0)
%global _description \ %global _description \
@ -80,7 +79,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
@ -95,6 +94,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.39-6
- Do not pull optional dependencies
* Sat Feb 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.39-5 * Sat Feb 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.39-5
- Run tests in infrastructure - Run tests in infrastructure

Loading…
Cancel
Save