diff --git a/.gitignore b/.gitignore index e04e3be..831f7df 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /futures-channel-0.3.18.crate /futures-channel-0.3.19.crate /futures-channel-0.3.21.crate +/futures-channel-0.3.23.crate diff --git a/rust-futures-channel.spec b/rust-futures-channel.spec index 6d07d0a..ee87421 100644 --- a/rust-futures-channel.spec +++ b/rust-futures-channel.spec @@ -1,23 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate futures-channel -Name: rust-%{crate} -Version: 0.3.21 +Name: rust-futures-channel +Version: 0.3.23 Release: %autorelease Summary: Channels for asynchronous communication using futures-rs -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/futures-channel Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Channels for asynchronous communication using futures-rs.} @@ -34,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,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}+alloc-devel Summary: %{summary} @@ -60,7 +60,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cfg-target-has-atomic-devel Summary: %{summary} @@ -72,7 +72,7 @@ This package contains library source intended for building other packages which use the "cfg-target-has-atomic" feature of the "%{crate}" crate. %files -n %{name}+cfg-target-has-atomic-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-sink-devel Summary: %{summary} @@ -84,7 +84,7 @@ This package contains library source intended for building other packages which use the "futures-sink" feature of the "%{crate}" crate. %files -n %{name}+futures-sink-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sink-devel Summary: %{summary} @@ -96,7 +96,7 @@ This package contains library source intended for building other packages which use the "sink" feature of the "%{crate}" crate. %files -n %{name}+sink-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -108,7 +108,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}+unstable-devel Summary: %{summary} @@ -120,7 +120,7 @@ This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 8e6d9c1..fb07f6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-channel-0.3.21.crate) = 1c10398657949b53b6df196cc44d8e4b3acf53b4d216be6f5f631d8d4b500f5c344e2cc7d5a5642ced6c5480511884611be6d429f56a0ede4a716b9c5770cb76 +SHA512 (futures-channel-0.3.23.crate) = 600c0ea3d0486eeab1a13e985f0de4b4d524e6da2eb4b22961a5968601ae2fe07540010f793ff7a84c24e9360dcdd84b755f6ec630d59e92f4005530e7bf70e4