diff --git a/rust-crates-io.spec b/rust-crates-io.spec index 11dea06..634d634 100644 --- a/rust-crates-io.spec +++ b/rust-crates-io.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm-9-1.fc30 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,21 +6,23 @@ %global crate crates-io Name: rust-%{crate} -Version: 0.20.0 -Release: 2%{?dist} +Version: 0.24.0 +Release: 1%{?dist} Summary: Helpers for interacting with crates.io # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/crates-io -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(curl/default) >= 0.4.0 with crate(curl/default) < 0.5.0) BuildRequires: (crate(failure/default) >= 0.1.1 with crate(failure/default) < 0.2.0) +BuildRequires: (crate(http/default) >= 0.1.0 with crate(http/default) < 0.2.0) BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) +BuildRequires: (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0) BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0) @@ -56,7 +58,7 @@ which use "default" 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 @@ -71,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 07 2019 Josh Stone - 0.24.0-1 +- Update to 0.24.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.20.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild