From 6e3e654b3297c782eefd0b2863e09c49b21f1b9f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 16:14:03 +0200 Subject: [PATCH] Update to version 0.9.3; Fixes RHBZ#2076008 --- .gitignore | 1 + rust-spin.spec | 37 +++++++++++++++++++------------------ sources | 2 +- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 877e2cb..2ba4af6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /spin-0.5.0.crate /spin-0.5.2.crate /spin-0.9.2.crate +/spin-0.9.3.crate diff --git a/rust-spin.spec b/rust-spin.spec index 82294f2..1c4626c 100644 --- a/rust-spin.spec +++ b/rust-spin.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate spin Name: rust-%{crate} -Version: 0.9.2 +Version: 0.9.3 Release: %autorelease Summary: Spin-based synchronization primitives @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Spin-based synchronization primitives.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+barrier-devel Summary: %{summary} @@ -59,7 +60,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy-devel Summary: %{summary} @@ -71,7 +72,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lock_api-devel Summary: %{summary} @@ -83,7 +84,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lock_api_crate-devel Summary: %{summary} @@ -95,7 +96,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mutex-devel Summary: %{summary} @@ -107,7 +108,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+once-devel Summary: %{summary} @@ -119,7 +120,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rwlock-devel Summary: %{summary} @@ -131,7 +132,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+spin_mutex-devel Summary: %{summary} @@ -143,7 +144,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -155,7 +156,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ticket_mutex-devel Summary: %{summary} @@ -167,7 +168,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_ticket_mutex-devel Summary: %{summary} @@ -179,7 +180,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 64a05f2..2427161 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (spin-0.9.2.crate) = f6d112567df533063b1571e140929505f5c519479ac27fc8c1d02e3fe36176af86d12db15dcf1ff9376b251a20d4e991ea57d6cbe8533c62810c9f67d7471fd7 +SHA512 (spin-0.9.3.crate) = 2779ff3a94865e4b7cdfe8f0c22c7460095bfb2c4dcaac3f879e740799a2e6835d8acaeb6b70db4351209ba33d20c7c1dc2ec203e33844c619d3c54ee462bf70