diff --git a/rust-sha1.spec b/rust-sha1.spec index 53c4b99..9822f11 100644 --- a/rust-sha1.spec +++ b/rust-sha1.spec @@ -7,20 +7,19 @@ Name: rust-%{crate} Version: 0.6.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Minimal implementation of SHA1 for Rust # Upstream license specification: BSD-3-Clause License: BSD URL: https://crates.io/crates/sha1 -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # https://github.com/mitsuhiko/rust-sha1/pull/35 Patch0001: 0001-guard-hexdigest-doctest-by-cfg-feature-std.patch ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) %if %{with check} BuildRequires: (crate(openssl/default) >= 0.10.0 with crate(openssl/default) < 0.11.0) BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0) @@ -84,7 +83,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 @@ -99,6 +98,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.6.0-6 +- Do not pull optional dependencies + * Sat Feb 02 2019 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild