From f9bf758d046461778ccb5728cda71991ef540d56 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 18 Jun 2019 08:49:01 +0200 Subject: [PATCH] Update to 0.5.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-hashbrown.spec | 25 ++++++++++++++----------- sources | 2 +- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index a787bd1..e7cf70b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /hashbrown-0.2.1.crate /hashbrown-0.2.2.crate /hashbrown-0.3.0.crate +/hashbrown-0.5.0.crate diff --git a/rust-hashbrown.spec b/rust-hashbrown.spec index b0037d5..d09e227 100644 --- a/rust-hashbrown.spec +++ b/rust-hashbrown.spec @@ -1,11 +1,12 @@ -# Generated by rust2rpm-9-1.fc31 +# Generated by rust2rpm 10 +# * rustc-hash is not packaged %bcond_with check %global debug_package %{nil} %global crate hashbrown Name: rust-%{crate} -Version: 0.3.0 +Version: 0.5.0 Release: 1%{?dist} Summary: Rust port of Google's SwissTable hash map @@ -15,18 +16,14 @@ URL: https://crates.io/crates/hashbrown Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 1.3.0) -BuildRequires: (crate(rand/default) >= 0.5.1 with crate(rand/default) < 0.6.0) -BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0) -BuildRequires: (crate(rustc-hash/default) >= 1.0.0 with crate(rustc-hash/default) < 2.0.0) -BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0) -%endif -%global _description \ -A Rust port of Google's SwissTable hash map. +%global _description %{expand: +Rust port of Google's SwissTable hash map.} %description %{_description} @@ -144,6 +141,9 @@ which use "serde" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -156,6 +156,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Tue Jun 18 08:46:31 CEST 2019 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + * Thu May 09 14:16:35 CEST 2019 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0 diff --git a/sources b/sources index 1e4c071..a44c2b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hashbrown-0.3.0.crate) = 4455bb81625e823b0bed0d0be18371126a3260bb7e980f223e725b9786f95048be2aba7d950abaa283d72e320d93067e85ab73eee3f0cbe685a99c5d0a351e19 +SHA512 (hashbrown-0.5.0.crate) = 96c878d0f9dd70eddb14be2c42df955956a334e768a021f6e14369244c9b0f199182566181d4cbdf137adf040f5a397a57d9ab3d503470fb3412f9edb44b2e01