From 83fe7c8f5fab52e87b9f0d9ccabdf2ae6b1694e6 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 22 Nov 2019 18:05:35 -0800 Subject: [PATCH] Update to 0.4.0 --- .gitignore | 1 + rust-slotmap.spec | 21 ++++++++++++--------- sources | 2 +- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index d3e6780..0d4c14e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /slotmap-0.3.0.crate +/slotmap-0.4.0.crate diff --git a/rust-slotmap.spec b/rust-slotmap.spec index 75a7654..bedfa80 100644 --- a/rust-slotmap.spec +++ b/rust-slotmap.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 %bcond_with check %global debug_package %{nil} %global crate slotmap Name: rust-%{crate} -Version: 0.3.0 -Release: 2%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Slotmap data structure # Upstream license specification: Zlib @@ -15,14 +15,11 @@ URL: https://crates.io/crates/slotmap Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(quickcheck/default) >= 0.6.0 with crate(quickcheck/default) < 0.7.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 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) -%endif %global _description %{expand: Slotmap data structure.} @@ -83,6 +80,9 @@ which use "unstable" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -95,6 +95,9 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 23 2019 Josh Stone - 0.4.0-1 +- Update to 0.4.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index b1fa157..9a4ef4c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (slotmap-0.3.0.crate) = 69b77e920b04084e22fcca32f21b030ba631bb8e0cfb795f9ce85ab0df0bdbc93134b5b938d9bcb12ca161d05ec96ddcb1bfe2ecfd1f0bf6bf546fd0fe80dbf8 +SHA512 (slotmap-0.4.0.crate) = 039fa1edff498b8db274febbeae23e7f1f7d83794572b8009f3da494cbafbff1716deee4fcc7be71d59bc6d94e70ab9aabe262bcd1fb278773012bb1a087cca1