Update to version 2.0.0; Fixes RHBZ#2141178

epel9
Fabio Valentini 2 years ago
parent 85b47d5406
commit 3ddbb88e89
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/concurrent-queue-1.2.2.crate
/concurrent-queue-1.2.3.crate
/concurrent-queue-1.2.4.crate
/concurrent-queue-2.0.0.crate

@ -0,0 +1,9 @@
--- concurrent-queue-2.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ concurrent-queue-2.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -62,6 +62,3 @@
default = ["std"]
std = []
-[target."cfg(loom)".dependencies.loom]
-version = "0.5"
-optional = true

@ -0,0 +1,12 @@
--- concurrent-queue-2.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ concurrent-queue-2.0.0/Cargo.toml 2022-12-04T13:30:25.029288+00:00
@@ -49,9 +49,6 @@
optional = true
default-features = false
-[dev-dependencies.criterion]
-version = "0.3.4"
-
[dev-dependencies.easy-parallel]
version = "3.1.0"

@ -1,19 +1,22 @@
# Generated by rust2rpm 22
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate concurrent-queue
Name: rust-concurrent-queue
Version: 1.2.4
Version: 2.0.0
Release: %autorelease
Summary: Concurrent multi-producer multi-consumer queue
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/concurrent-queue
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
# Automatically generated patch to strip foreign dependencies
Patch: concurrent-queue-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: concurrent-queue-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@ -50,6 +53,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
@ -65,12 +80,8 @@ use the "default" feature of the "%{crate}" crate.
%if %{with check}
%check
%ifnarch s390x
# * some tests fail or get stuck on s390x when compiled with LLVM 13:
# https://github.com/smol-rs/concurrent-queue/issues/21
%cargo_test
%endif
%endif
%changelog
%autochangelog

@ -0,0 +1,3 @@
[DEFAULT]
unwanted-features =
portable-atomic

@ -1 +1 @@
SHA512 (concurrent-queue-1.2.4.crate) = 4c0c81f02bc10b1ac25880f7a9647d787742f694a8cbc6aa921cb76c5416bae7ad94eab857e48d56a42243a96cc86bb0b7e18651021d281cca90d77a644d941a
SHA512 (concurrent-queue-2.0.0.crate) = e518fb6c25424f49eceff427a5a4840ef277eceb8bde40c73604e798397eb4733b513de26f147093012a0addaced14540b88b411d176b95065f3cc60788c3e08

Loading…
Cancel
Save