Update to version 1.7.1; Fixes RHBZ#2116483

epel9
Fabio Valentini 3 years ago
parent c0081b7ba8
commit b2dd1efdd8
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/async-channel-1.6.1.crate /async-channel-1.6.1.crate
/async-channel-1.7.1.crate

@ -1,12 +0,0 @@
diff -Naur a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml 1969-12-31 16:00:00.000000000 -0800
+++ b/Cargo.toml 2021-05-06 14:39:01.647519493 -0700
@@ -30,8 +30,6 @@
[dependencies.futures-core]
version = "0.3.5"
-[dev-dependencies.blocking]
-version = "1"
[dev-dependencies.easy-parallel]
version = "3.1.0"

@ -1,27 +1,21 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate async-channel %global crate async-channel
Name: rust-%{crate} Name: rust-async-channel
Version: 1.6.1 Version: 1.7.1
Release: %autorelease Release: %autorelease
Summary: Async multi-producer multi-consumer channel Summary: Async multi-producer multi-consumer channel
# Upstream license specification: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/async-channel URL: https://crates.io/crates/async-channel
Source: %{crates_source} Source: %{crates_source}
# Break circular dependency with blocking
Patch0: async-channel-fix-metadata.patch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Async multi-producer multi-consumer channel.} Async multi-producer multi-consumer channel.}
@ -34,13 +28,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,11 +44,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (async-channel-1.6.1.crate) = 797b1f5b4c07853f78670e62b67fb787c329ffa2c89475a3767a963d524a69dce082cc7f3a2878d9c990f00ae2d9cd7e0d21743fc4186769c238467bdb20c65e SHA512 (async-channel-1.7.1.crate) = 26c2fcc2b0f0bd1fb58826f7a0ef1bdd3069c02c00b7e59c2c7001f39d347df8c9882eee8682629ff8d94e88973186b20fcf2ee6885332024d181d3525866cd9

Loading…
Cancel
Save