diff --git a/.gitignore b/.gitignore index e424204..a056cf5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /async-lock-2.4.0.crate +/async-lock-2.5.0.crate diff --git a/async-lock-fix-metadata.diff b/async-lock-fix-metadata.diff index cf09e7b..699378f 100644 --- a/async-lock-fix-metadata.diff +++ b/async-lock-fix-metadata.diff @@ -1,8 +1,9 @@ ---- async-lock-2.4.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ async-lock-2.4.0/Cargo.toml 2021-04-28T23:24:42.634855+00:00 -@@ -32,5 +32,3 @@ +--- async-lock-2.5.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-lock-2.5.0/Cargo.toml 2022-02-20T23:04:15.014527+00:00 +@@ -42,6 +42,3 @@ [dev-dependencies.futures-lite] version = "1.11.0" +- -[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] -version = "0.3" diff --git a/rust-async-lock.spec b/rust-async-lock.spec index 458d358..2f85ff5 100644 --- a/rust-async-lock.spec +++ b/rust-async-lock.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate async-lock Name: rust-%{crate} -Version: 2.4.0 +Version: 2.5.0 Release: %autorelease Summary: Async synchronization primitives @@ -18,9 +18,6 @@ Source: %{crates_source} Patch0: async-lock-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -35,12 +32,12 @@ 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-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -49,8 +46,8 @@ 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 diff --git a/sources b/sources index 2f68745..f4319b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-lock-2.4.0.crate) = c3eade585da23e3aca17be6110290461bc2cb39b9fcca9c35d8ce71669883d8d1ca42fdca64686126dbf063f289b0142c508b7eb852babd702f2cebc4c4290da +SHA512 (async-lock-2.5.0.crate) = 4b0a834b9f1b841421cf9af0d0f6826a7fcf91b5be208e3f3b923839475d866d9113b37011a9abe0daa5762f5b684b37db062360baf094810a219103fffbe62c