diff --git a/.gitignore b/.gitignore index 5c668f8..b66d3bb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /downcast-rs-1.0.2.crate /downcast-rs-1.0.3.crate /downcast-rs-1.0.4.crate +/downcast-rs-1.1.1.crate diff --git a/rust-downcast-rs.spec b/rust-downcast-rs.spec index 594e6e0..ae6b75f 100644 --- a/rust-downcast-rs.spec +++ b/rust-downcast-rs.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 %bcond_with check %global debug_package %{nil} %global crate downcast-rs Name: rust-%{crate} -Version: 1.0.4 -Release: 2%{?dist} +Version: 1.1.1 +Release: 1%{?dist} Summary: Trait object downcasting support using only safe Rust # Upstream license specification: MIT/Apache-2.0 @@ -15,12 +15,15 @@ URL: https://crates.io/crates/downcast-rs Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Trait object downcasting support using only safe Rust. It supports type\ -parameters, associated types, and type constraints. +%global _description %{expand: +Trait object downcasting support using only safe Rust. It supports type +parameters, associated types, and type constraints.} %description %{_description} @@ -54,6 +57,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 @@ -66,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Nov 19 2019 Josh Stone - 1.1.1-1 +- Update to 1.1.1 + * Fri Jul 26 2019 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index e8a2b7b..2a3999a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (downcast-rs-1.0.4.crate) = 51efdc242fd37717a01309e179245867d5d1b32639c9b426dd7c4c529e630b70bcf199d43f283c40ea73e1e88ea4ec0bb0664b123a24453a5e466b2d25af0ff8 +SHA512 (downcast-rs-1.1.1.crate) = ab5e7233923c4580ed507be976c124ac684b99d567b5fac78661714f11b88f12bfadca5c34dcdf3f18ce12011fa1ad2a55884b4390559a4836e00ee4d1d85a7a