From d2d28594b551b995b3783b81c1ffaa18a41eb519 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jan 10 2022 20:03:15 +0000 Subject: Update to version 0.9.2; Fixes RHBZ#1886624 --- diff --git a/.gitignore b/.gitignore index af20227..877e2cb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /spin-0.4.10.crate /spin-0.5.0.crate /spin-0.5.2.crate +/spin-0.9.2.crate diff --git a/rust-spin.spec b/rust-spin.spec index d3e0e60..82294f2 100644 --- a/rust-spin.spec +++ b/rust-spin.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate spin Name: rust-%{crate} -Version: 0.5.2 +Version: 0.9.2 Release: %autorelease -Summary: Synchronization primitives based on spinning +Summary: Spin-based synchronization primitives # Upstream license specification: MIT License: MIT @@ -15,15 +15,11 @@ URL: https://crates.io/crates/spin Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: -Synchronization primitives based on spinning. They may contain data, are usable -without `std`, and static initializers are available.} +Spin-based synchronization primitives.} %description %{_description} @@ -34,11 +30,11 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel %license LICENSE -%doc README.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -48,11 +44,143 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+barrier-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+barrier-devel %{_description} + +This package contains library source intended for building other packages which +use the "barrier" feature of the "%{crate}" crate. + +%files -n %{name}+barrier-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+lazy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lazy-devel %{_description} + +This package contains library source intended for building other packages which +use the "lazy" feature of the "%{crate}" crate. + +%files -n %{name}+lazy-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+lock_api-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lock_api-devel %{_description} + +This package contains library source intended for building other packages which +use the "lock_api" feature of the "%{crate}" crate. + +%files -n %{name}+lock_api-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+lock_api_crate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lock_api_crate-devel %{_description} + +This package contains library source intended for building other packages which +use the "lock_api_crate" feature of the "%{crate}" crate. + +%files -n %{name}+lock_api_crate-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+mutex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+mutex-devel %{_description} + +This package contains library source intended for building other packages which +use the "mutex" feature of the "%{crate}" crate. + +%files -n %{name}+mutex-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%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 the "once" feature of the "%{crate}" crate. + +%files -n %{name}+once-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+rwlock-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rwlock-devel %{_description} + +This package contains library source intended for building other packages which +use the "rwlock" feature of the "%{crate}" crate. + +%files -n %{name}+rwlock-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+spin_mutex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+spin_mutex-devel %{_description} + +This package contains library source intended for building other packages which +use the "spin_mutex" feature of the "%{crate}" crate. + +%files -n %{name}+spin_mutex-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+ticket_mutex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ticket_mutex-devel %{_description} + +This package contains library source intended for building other packages which +use the "ticket_mutex" feature of the "%{crate}" crate. + +%files -n %{name}+ticket_mutex-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+use_ticket_mutex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use_ticket_mutex-devel %{_description} + +This package contains library source intended for building other packages which +use the "use_ticket_mutex" feature of the "%{crate}" crate. + +%files -n %{name}+use_ticket_mutex-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 19bf8c0..64a05f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (spin-0.5.2.crate) = fc57f7906da2b7a298c5f89215e881e8827b4d9f934dbf138338e0ee30122d8459483be566268fa374b41d63d8dbf65d42e0b322535ba35c827d7edb2176f267 +SHA512 (spin-0.9.2.crate) = f6d112567df533063b1571e140929505f5c519479ac27fc8c1d02e3fe36176af86d12db15dcf1ff9376b251a20d4e991ea57d6cbe8533c62810c9f67d7471fd7