diff --git a/rust-num-integer.spec b/rust-num-integer.spec index 39f3a1e..43b3c48 100644 --- a/rust-num-integer.spec +++ b/rust-num-integer.spec @@ -6,13 +6,13 @@ Name: rust-%{crate} Version: 0.1.39 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Integer traits and functions # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 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 # * Exclude CI files, https://github.com/rust-num/num-integer/pull/13 Patch0: num-integer-fix-metadata.diff @@ -21,7 +21,6 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging 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) %global _description \ @@ -80,7 +79,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 @@ -95,6 +94,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.1.39-6 +- Do not pull optional dependencies + * Sat Feb 09 2019 Igor Gnatenko - 0.1.39-5 - Run tests in infrastructure