From 694be0eca25b992d4f88fac42050348703d1cebf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 9 Mar 2019 15:40:37 +0100 Subject: [PATCH] Update to 0.5.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-spin.spec | 30 ++++++++++++++++-------------- sources | 2 +- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 85cb0bd..ecfa746 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /spin-0.4.8.crate /spin-0.4.9.crate /spin-0.4.10.crate +/spin-0.5.0.crate diff --git a/rust-spin.spec b/rust-spin.spec index 1dc5763..de6f757 100644 --- a/rust-spin.spec +++ b/rust-spin.spec @@ -6,21 +6,21 @@ %global crate spin Name: rust-%{crate} -Version: 0.4.10 -Release: 2%{?dist} +Version: 0.5.0 +Release: 1%{?dist} Summary: Synchronization primitives based on spinning License: MIT URL: https://crates.io/crates/spin -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description \ -Synchronization primitives based on spinning. They may contain data, They are\ -usable without `std` and static initializers are available. +Synchronization primitives based on spinning. They may contain data, are usable\ +without `std`, and static initializers are available. %description %{_description} @@ -39,35 +39,37 @@ which use "%{crate}" crate. %{cargo_registry}/%{crate}-%{version}/ %exclude %{cargo_registry}/%{crate}-%{version}/script -%package -n %{name}+once-devel +%package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+once-devel %{_description} +%description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages -which use "once" feature of "%{crate}" crate. +which use "default" feature of "%{crate}" crate. -%files -n %{name}+once-devel +%files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build -# https://github.com/mvdnes/spin-rs/issues/37 -%cargo_build -n +%cargo_build %install -%cargo_install -n +%cargo_install %if %{with check} %check -%cargo_test -n +%cargo_test %endif %changelog +* Sat Mar 09 2019 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.4.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 705192f..da6791b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (spin-0.4.10.crate) = 812da233a9aa048bc2d92ff3664cbd06bfbf1d5fde57d8b65217280242a678702a0289a8d7ab12e5f852e8ab2fcbfcd9d8d3af10e4670ad78b9cc45b5eeee198 +SHA512 (spin-0.5.0.crate) = 21f23977f7cf1fe10175cf10f1b1c0a3faec47bd472508f69ad77ceecda32eb5eadc2b497354a14656e679376f5ecea101821cc2158a9cce7d78c34ed7499df7