diff --git a/.gitignore b/.gitignore index 1605f94..ccfb61e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /async-std-1.9.0.crate /async-std-1.10.0.crate +/async-std-1.11.0.crate diff --git a/async-std-fix-metadata.diff b/async-std-fix-metadata.diff index 243e477..b207ede 100644 --- a/async-std-fix-metadata.diff +++ b/async-std-fix-metadata.diff @@ -1,6 +1,6 @@ ---- async-std-1.10.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-std-1.10.0/Cargo.toml 2021-08-28T12:57:23.216491+00:00 -@@ -30,10 +30,6 @@ +--- async-std-1.11.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-std-1.11.0/Cargo.toml 2022-03-22T21:40:20.467341+00:00 +@@ -29,10 +29,6 @@ [[example]] name = "tcp-ipv4-and-6-echo" required-features = ["unstable"] @@ -11,7 +11,7 @@ [[test]] name = "stream" -@@ -96,9 +92,6 @@ +@@ -95,9 +91,6 @@ version = "0.4.2" optional = true @@ -21,7 +21,7 @@ [dev-dependencies.femme] version = "2.1.1" -@@ -117,11 +110,10 @@ +@@ -116,11 +109,10 @@ [features] alloc = ["futures-core/alloc", "pin-project-lite"] attributes = ["async-attributes"] @@ -35,7 +35,7 @@ tokio1 = ["async-global-executor/tokio"] unstable = ["std", "async-io", "async-process"] [target."cfg(not(target_os = \"unknown\"))".dependencies.async-global-executor] -@@ -140,21 +132,3 @@ +@@ -139,21 +131,3 @@ [target."cfg(not(target_os = \"unknown\"))".dependencies.futures-lite] version = "1.0.0" optional = true diff --git a/rust-async-std.spec b/rust-async-std.spec index de58636..492bc2e 100644 --- a/rust-async-std.spec +++ b/rust-async-std.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate async-std Name: rust-%{crate} -Version: 1.10.0 +Version: 1.11.0 Release: %autorelease Summary: Async version of the Rust standard library @@ -21,11 +21,8 @@ Source: %{crates_source} Patch0: async-std-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Async version of the Rust standard library.} @@ -38,13 +35,16 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -52,11 +52,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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} @@ -64,11 +64,11 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} -This package contains library source intended for building other packages -which use "alloc" feature of "%{crate}" crate. +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}+async-attributes-devel Summary: %{summary} @@ -76,11 +76,11 @@ BuildArch: noarch %description -n %{name}+async-attributes-devel %{_description} -This package contains library source intended for building other packages -which use "async-attributes" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "async-attributes" feature of the "%{crate}" crate. %files -n %{name}+async-attributes-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-channel-devel Summary: %{summary} @@ -88,11 +88,11 @@ BuildArch: noarch %description -n %{name}+async-channel-devel %{_description} -This package contains library source intended for building other packages -which use "async-channel" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "async-channel" feature of the "%{crate}" crate. %files -n %{name}+async-channel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-global-executor-devel Summary: %{summary} @@ -100,11 +100,11 @@ BuildArch: noarch %description -n %{name}+async-global-executor-devel %{_description} -This package contains library source intended for building other packages -which use "async-global-executor" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "async-global-executor" feature of the "%{crate}" crate. %files -n %{name}+async-global-executor-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-io-devel Summary: %{summary} @@ -112,11 +112,11 @@ BuildArch: noarch %description -n %{name}+async-io-devel %{_description} -This package contains library source intended for building other packages -which use "async-io" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "async-io" feature of the "%{crate}" crate. %files -n %{name}+async-io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-lock-devel Summary: %{summary} @@ -124,11 +124,11 @@ BuildArch: noarch %description -n %{name}+async-lock-devel %{_description} -This package contains library source intended for building other packages -which use "async-lock" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "async-lock" feature of the "%{crate}" crate. %files -n %{name}+async-lock-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-process-devel Summary: %{summary} @@ -136,11 +136,11 @@ BuildArch: noarch %description -n %{name}+async-process-devel %{_description} -This package contains library source intended for building other packages -which use "async-process" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "async-process" feature of the "%{crate}" crate. %files -n %{name}+async-process-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+attributes-devel Summary: %{summary} @@ -148,11 +148,11 @@ BuildArch: noarch %description -n %{name}+attributes-devel %{_description} -This package contains library source intended for building other packages -which use "attributes" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "attributes" feature of the "%{crate}" crate. %files -n %{name}+attributes-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-utils-devel Summary: %{summary} @@ -160,11 +160,11 @@ BuildArch: noarch %description -n %{name}+crossbeam-utils-devel %{_description} -This package contains library source intended for building other packages -which use "crossbeam-utils" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossbeam-utils" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-utils-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+docs-devel Summary: %{summary} @@ -172,11 +172,11 @@ BuildArch: noarch %description -n %{name}+docs-devel %{_description} -This package contains library source intended for building other packages -which use "docs" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "docs" feature of the "%{crate}" crate. %files -n %{name}+docs-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-core-devel Summary: %{summary} @@ -184,11 +184,11 @@ BuildArch: noarch %description -n %{name}+futures-core-devel %{_description} -This package contains library source intended for building other packages -which use "futures-core" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-core" feature of the "%{crate}" crate. %files -n %{name}+futures-core-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-io-devel Summary: %{summary} @@ -196,11 +196,11 @@ BuildArch: noarch %description -n %{name}+futures-io-devel %{_description} -This package contains library source intended for building other packages -which use "futures-io" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-io" feature of the "%{crate}" crate. %files -n %{name}+futures-io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-lite-devel Summary: %{summary} @@ -208,11 +208,11 @@ BuildArch: noarch %description -n %{name}+futures-lite-devel %{_description} -This package contains library source intended for building other packages -which use "futures-lite" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-lite" feature of the "%{crate}" crate. %files -n %{name}+futures-lite-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+kv-log-macro-devel Summary: %{summary} @@ -220,11 +220,11 @@ BuildArch: noarch %description -n %{name}+kv-log-macro-devel %{_description} -This package contains library source intended for building other packages -which use "kv-log-macro" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "kv-log-macro" feature of the "%{crate}" crate. %files -n %{name}+kv-log-macro-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -232,11 +232,11 @@ BuildArch: noarch %description -n %{name}+log-devel %{_description} -This package contains library source intended for building other packages -which use "log" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memchr-devel Summary: %{summary} @@ -244,11 +244,11 @@ BuildArch: noarch %description -n %{name}+memchr-devel %{_description} -This package contains library source intended for building other packages -which use "memchr" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "memchr" feature of the "%{crate}" crate. %files -n %{name}+memchr-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+num_cpus-devel Summary: %{summary} @@ -256,11 +256,11 @@ BuildArch: noarch %description -n %{name}+num_cpus-devel %{_description} -This package contains library source intended for building other packages -which use "num_cpus" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "num_cpus" feature of the "%{crate}" crate. %files -n %{name}+num_cpus-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+once_cell-devel Summary: %{summary} @@ -268,11 +268,11 @@ BuildArch: noarch %description -n %{name}+once_cell-devel %{_description} -This package contains library source intended for building other packages -which use "once_cell" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. %files -n %{name}+once_cell-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pin-project-lite-devel Summary: %{summary} @@ -280,11 +280,11 @@ BuildArch: noarch %description -n %{name}+pin-project-lite-devel %{_description} -This package contains library source intended for building other packages -which use "pin-project-lite" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "pin-project-lite" feature of the "%{crate}" crate. %files -n %{name}+pin-project-lite-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pin-utils-devel Summary: %{summary} @@ -292,11 +292,11 @@ BuildArch: noarch %description -n %{name}+pin-utils-devel %{_description} -This package contains library source intended for building other packages -which use "pin-utils" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "pin-utils" feature of the "%{crate}" crate. %files -n %{name}+pin-utils-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slab-devel Summary: %{summary} @@ -304,11 +304,11 @@ BuildArch: noarch %description -n %{name}+slab-devel %{_description} -This package contains library source intended for building other packages -which use "slab" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "slab" feature of the "%{crate}" crate. %files -n %{name}+slab-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -316,11 +316,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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}+tokio02-devel Summary: %{summary} @@ -328,11 +328,11 @@ BuildArch: noarch %description -n %{name}+tokio02-devel %{_description} -This package contains library source intended for building other packages -which use "tokio02" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "tokio02" feature of the "%{crate}" crate. %files -n %{name}+tokio02-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio1-devel Summary: %{summary} @@ -340,11 +340,11 @@ BuildArch: noarch %description -n %{name}+tokio1-devel %{_description} -This package contains library source intended for building other packages -which use "tokio1" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "tokio1" feature of the "%{crate}" crate. %files -n %{name}+tokio1-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} @@ -352,11 +352,11 @@ BuildArch: noarch %description -n %{name}+unstable-devel %{_description} -This package contains library source intended for building other packages -which use "unstable" feature of "%{crate}" crate. +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 b1534cd..6499d19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-std-1.10.0.crate) = c71d52060160003f52e82b0e6783e378f6a2837bc7ee5622d0e6237751f622cfa66bd6a1ab97e48961c3d0b85a87b1089659c4bdd4c3d98e123ba92698060905 +SHA512 (async-std-1.11.0.crate) = 8978520f1031273ef93e7af63b7b72d43fe52f4c4058a3538ed1c16ae21bff79b787f79d5e9c54cb5266c24875681a52bd68d85ff322423dfb6656e215f32c20