diff --git a/.gitignore b/.gitignore index 5664676..85a78e5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /async-io-1.4.0.crate /async-io-1.4.1.crate /async-io-1.6.0.crate +/async-io-1.7.0.crate diff --git a/async-io-fix-metadata.diff b/async-io-fix-metadata.diff index 0f139c3..6aecf45 100644 --- a/async-io-fix-metadata.diff +++ b/async-io-fix-metadata.diff @@ -1,11 +1,13 @@ ---- async-io-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-io-1.6.0/Cargo.toml 2021-07-08T22:04:28.037562+00:00 -@@ -74,8 +74,3 @@ - version = "1.1.1" +--- async-io-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-io-1.7.0/Cargo.toml 2022-05-30T19:05:56.545327+00:00 +@@ -88,10 +88,3 @@ + [target."cfg(unix)".dependencies.libc] version = "0.2.77" +- -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" -features = ["winsock2"] +- -[target."cfg(windows)".dev-dependencies.uds_windows] -version = "1" diff --git a/rust-async-io.spec b/rust-async-io.spec index c40bd1c..187296b 100644 --- a/rust-async-io.spec +++ b/rust-async-io.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 21 # * resolve circular dependency between async-{channel,net} and async-io %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate async-io Name: rust-%{crate} -Version: 1.6.0 +Version: 1.7.0 Release: %autorelease Summary: Async I/O and timers @@ -19,11 +19,8 @@ Source: %{crates_source} Patch0: async-io-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Async I/O and timers.} @@ -36,13 +33,15 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,11 +49,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 7e2e72d..9fdfd56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-io-1.6.0.crate) = 0451c6d53da593bc1753ab56c043d855d2642de5679265970ade0c63cef09268ac5b133100230637bf16506f475e322ffea2c85f8eaa3788a0bbe24ff7e671f5 +SHA512 (async-io-1.7.0.crate) = aacb634f225b674cd79ea1e152ef0539f789b698768804ee7f4fd261321cf73ce55cd9028b062acc5ec82d29a072d15da408e14071f78ecc27f2ebe746e08074