From 27b5b5aa82460748b99b9b619c3b15d48858536e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 15 Jul 2022 13:43:03 +0200 Subject: [PATCH] Update to version 0.8.10; Fixes RHBZ#2097835 --- .gitignore | 1 + crossbeam-utils-fix-metadata.diff | 8 ++++---- rust-crossbeam-utils.spec | 18 +++++++++--------- sources | 2 +- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 5d96fa1..a3b1b88 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /crossbeam-utils-0.8.6.crate /crossbeam-utils-0.8.7.crate /crossbeam-utils-0.8.8.crate +/crossbeam-utils-0.8.10.crate diff --git a/crossbeam-utils-fix-metadata.diff b/crossbeam-utils-fix-metadata.diff index 520a738..92801bb 100644 --- a/crossbeam-utils-fix-metadata.diff +++ b/crossbeam-utils-fix-metadata.diff @@ -1,9 +1,9 @@ ---- crossbeam-utils-0.8.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ crossbeam-utils-0.8.8/Cargo.toml 2022-03-29T10:59:12.766422+00:00 -@@ -48,7 +48,3 @@ +--- crossbeam-utils-0.8.10/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ crossbeam-utils-0.8.10/Cargo.toml 2022-07-15T11:41:41.291758+00:00 +@@ -49,7 +49,3 @@ default = ["std"] nightly = [] - std = ["lazy_static"] + std = ["once_cell"] - -[target."cfg(crossbeam_loom)".dependencies.loom] -version = "0.5" diff --git a/rust-crossbeam-utils.spec b/rust-crossbeam-utils.spec index 767c76b..ba9a515 100644 --- a/rust-crossbeam-utils.spec +++ b/rust-crossbeam-utils.spec @@ -5,7 +5,7 @@ %global crate crossbeam-utils Name: rust-%{crate} -Version: 0.8.8 +Version: 0.8.10 Release: %autorelease Summary: Utilities for concurrent programming @@ -54,28 +54,28 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+lazy_static-devel +%package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+lazy_static-devel %{_description} +%description -n %{name}+nightly-devel %{_description} This package contains library source intended for building other packages which -use the "lazy_static" feature of the "%{crate}" crate. +use the "nightly" feature of the "%{crate}" crate. -%files -n %{name}+lazy_static-devel +%files -n %{name}+nightly-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+nightly-devel +%package -n %{name}+once_cell-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+nightly-devel %{_description} +%description -n %{name}+once_cell-devel %{_description} This package contains library source intended for building other packages which -use the "nightly" feature of the "%{crate}" crate. +use the "once_cell" feature of the "%{crate}" crate. -%files -n %{name}+nightly-devel +%files -n %{name}+once_cell-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel diff --git a/sources b/sources index b87e4a0..c869650 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-utils-0.8.8.crate) = ab960afdb82863160a3fa1c21c64b35b3112725bd72fc8e0724175937f4b23d0628253032229501938cd86a8e406a59c06cb44e8bdf34619de781a84ebb46ea0 +SHA512 (crossbeam-utils-0.8.10.crate) = e0ac772262677e7228e4f2e06099ca788f4906f40fe5dbfb0891431c993c7e4d755d3ad93f55570ae06c1f06df14801edb3ba4f28271c4e83c80dbba2fffe24c