From 4bf889030dd9d870f8b56da5d55086b3f60f21c1 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Dec 09 2019 17:35:10 +0000 Subject: Update to 0.28.0 --- diff --git a/.gitignore b/.gitignore index 2da3254..7897e9b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /crates-io-0.19.0.crate /crates-io-0.20.0.crate /crates-io-0.24.0.crate +/crates-io-0.28.0.crate diff --git a/rust-crates-io.spec b/rust-crates-io.spec index 3be345b..f6c3518 100644 --- a/rust-crates-io.spec +++ b/rust-crates-io.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm-9-1.fc30 +# Generated by rust2rpm 10 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate crates-io Name: rust-%{crate} -Version: 0.24.0 -Release: 2%{?dist} +Version: 0.28.0 +Release: 1%{?dist} Summary: Helpers for interacting with crates.io # Upstream license specification: MIT OR Apache-2.0 @@ -16,19 +16,14 @@ URL: https://crates.io/crates/crates-io Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif 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) - -%global _description \ -Helpers for interacting with crates.io. + +%global _description %{expand: +Helpers for interacting with crates.io.} %description %{_description} @@ -61,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -73,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Dec 07 2019 Josh Stone - 0.28.0-1 +- Update to 0.28.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.24.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index d6bf4a5..29826d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crates-io-0.24.0.crate) = 4b929a27598245dbd9336e81d040321fd28854532cb1cc37bf353490e33a91546613ea71af31247bd9a2cd31243916d0c1d96fcf0eb259252ed44cd187507daf +SHA512 (crates-io-0.28.0.crate) = 434d8af0869a9777599b53db94c0e00da915f36090daf949c7e85ada7431f845455624c7452ae9f3924bf593701fb60cd605beaacc4a9a2c6b0229f32e850805