diff --git a/.gitignore b/.gitignore index aeb740b..1902d1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fragile-0.3.0.crate +/fragile-1.0.0.crate diff --git a/rust-fragile.spec b/rust-fragile.spec index 2cf487e..7e6d200 100644 --- a/rust-fragile.spec +++ b/rust-fragile.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate fragile Name: rust-%{crate} -Version: 0.3.0 -Release: 5%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Wrapper types for sending non-send values to other threads # Upstream license specification: Apache-2.0 @@ -15,11 +15,14 @@ URL: https://crates.io/crates/fragile Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Provides wrapper types for sending non-send values to other threads. +%global _description %{expand: +Provides wrapper types for sending non-send values to other threads.} %description %{_description} @@ -35,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,12 +50,15 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -65,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Apr 17 2020 Josh Stone - 1.0.0-1 +- Update to 1.0.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 902087e..716249a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fragile-0.3.0.crate) = 5307919178a440abf932857162b66b7a1a769513820c55c6827e8031894029f2d84920773899e6ae39ba1d8a8c0da2816ce9af7007416ab4e0e2c115090d8a1c +SHA512 (fragile-1.0.0.crate) = bbdd87f97c494495f4db10c68121f4b6f76e3752b9e4b363c0dde24a96a1344868faceeaf7e6df1edfee6ec107f10b69fd26bf271519675463c0235ecec3780b