From f55c3258ac51042594aaa75bdff0597111c37778 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 12 Nov 2018 18:34:27 -0800 Subject: [PATCH] Update to 0.4.10 Adapt to new packaging --- .gitignore | 1 + rust-spin.spec | 47 +++++++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 33 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 9a284e3..85cb0bd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /spin-0.4.7.crate /spin-0.4.8.crate /spin-0.4.9.crate +/spin-0.4.10.crate diff --git a/rust-spin.spec b/rust-spin.spec index fd4a4b4..e76b3ce 100644 --- a/rust-spin.spec +++ b/rust-spin.spec @@ -6,8 +6,8 @@ %global crate spin Name: rust-%{crate} -Version: 0.4.9 -Release: 2%{?dist} +Version: 0.4.10 +Release: 1%{?dist} Summary: Synchronization primitives based on spinning License: MIT @@ -18,21 +18,38 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -%description -%{summary}. +%global _description \ +Synchronization primitives based on spinning. They may contain data, They are\ +usable without `std` and static initializers are available. + +%description %{_description} %package devel Summary: %{summary} BuildArch: noarch -%description devel -Synchronization primitives based on spinning. -They may contain data, -They are usable without `std` -and static initializers are available. +%description devel %{_description} This package contains library source intended for building other packages -which use %{crate} from crates.io. +which use "%{crate}" crate. + +%files devel +%license LICENSE +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ +%exclude %{cargo_registry}/%{crate}-%{version}/script + +%package -n %{name}+once-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once-devel %{_description} + +This package contains library source intended for building other packages +which use "once" feature of "%{crate}" crate. + +%files -n %{name}+once-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 @@ -50,13 +67,11 @@ which use %{crate} from crates.io. %cargo_test -n %endif -%files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ -%exclude %{cargo_registry}/%{crate}-%{version}/script - %changelog +* Tue Nov 13 2018 Josh Stone - 0.4.10-1 +- Update to 0.4.10 +- Adapt to new packaging + * Sun Oct 07 2018 Igor Gnatenko - 0.4.9-2 - Run tests in infrastructure diff --git a/sources b/sources index a996a26..705192f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (spin-0.4.9.crate) = d7d5d349770ecf81b85032312b964a67317c8be5e329b634ea0f72e58ab8cb1e517b2bc2c9a8cb79f0a89fc4a56120fe9e33306421a9ae708f74bb6ce94ef668 +SHA512 (spin-0.4.10.crate) = 812da233a9aa048bc2d92ff3664cbd06bfbf1d5fde57d8b65217280242a678702a0289a8d7ab12e5f852e8ab2fcbfcd9d8d3af10e4670ad78b9cc45b5eeee198