diff --git a/.gitignore b/.gitignore index 0d8d68a..aaf7d37 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /futures-test-0.3.18.crate /futures-test-0.3.19.crate /futures-test-0.3.21.crate +/futures-test-0.3.23.crate diff --git a/rust-futures-test.spec b/rust-futures-test.spec index 0074ed5..51688ac 100644 --- a/rust-futures-test.spec +++ b/rust-futures-test.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-test -Name: rust-%{crate} -Version: 0.3.21 +Name: rust-futures-test +Version: 0.3.23 Release: %autorelease Summary: Common utilities for testing components built off 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-test Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Common utilities for testing components built off 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}+std-devel Summary: %{summary} @@ -60,7 +60,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 221e2f0..a3d4c82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-test-0.3.21.crate) = 2258bd35c35848c4a0cbe3b9053ff31c6e84aa0aac136297e2b844747dd6f571b8655f6259a164f4059950bae5e997d3b94692b926b324a34b9ab6a12ef91983 +SHA512 (futures-test-0.3.23.crate) = f781843c86d9cf94df3884f44782c7a9b109c8f1074af1b57c4bd1f33e838f95dd640b78b5b5411567c66374fd98c4da4cc08b9211fa52da8cb287e4890c8edd