diff --git a/.gitignore b/.gitignore index 0624fd1..4c309e4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /tokio-util-0.6.7.crate /tokio-util-0.6.8.crate /tokio-util-0.6.9.crate +/tokio-util-0.7.1.crate diff --git a/rust-tokio-util.spec b/rust-tokio-util.spec index a896a78..d0439be 100644 --- a/rust-tokio-util.spec +++ b/rust-tokio-util.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 # * tests can be run only in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate tokio-util Name: rust-%{crate} -Version: 0.6.9 +Version: 0.7.1 Release: %autorelease Summary: Additional utilities for working with Tokio @@ -16,11 +16,8 @@ URL: https://crates.io/crates/tokio-util Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Additional utilities for working with Tokio.} @@ -33,13 +30,14 @@ 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 -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +45,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}+codec-devel Summary: %{summary} @@ -59,11 +57,11 @@ BuildArch: noarch %description -n %{name}+codec-devel %{_description} -This package contains library source intended for building other packages -which use "codec" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "codec" feature of the "%{crate}" crate. %files -n %{name}+codec-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compat-devel Summary: %{summary} @@ -71,11 +69,11 @@ BuildArch: noarch %description -n %{name}+compat-devel %{_description} -This package contains library source intended for building other packages -which use "compat" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "compat" feature of the "%{crate}" crate. %files -n %{name}+compat-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} @@ -83,11 +81,11 @@ BuildArch: noarch %description -n %{name}+full-devel %{_description} -This package contains library source intended for building other packages -which use "full" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-io-devel Summary: %{summary} @@ -95,11 +93,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-util-devel Summary: %{summary} @@ -107,11 +105,11 @@ BuildArch: noarch %description -n %{name}+futures-util-devel %{_description} -This package contains library source intended for building other packages -which use "futures-util" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-util" feature of the "%{crate}" crate. %files -n %{name}+futures-util-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-devel Summary: %{summary} @@ -119,11 +117,11 @@ BuildArch: noarch %description -n %{name}+io-devel %{_description} -This package contains library source intended for building other packages -which use "io" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "io" feature of the "%{crate}" crate. %files -n %{name}+io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-util-devel Summary: %{summary} @@ -131,11 +129,11 @@ BuildArch: noarch %description -n %{name}+io-util-devel %{_description} -This package contains library source intended for building other packages -which use "io-util" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "io-util" feature of the "%{crate}" crate. %files -n %{name}+io-util-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+net-devel Summary: %{summary} @@ -143,11 +141,11 @@ BuildArch: noarch %description -n %{name}+net-devel %{_description} -This package contains library source intended for building other packages -which use "net" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "net" feature of the "%{crate}" crate. %files -n %{name}+net-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rt-devel Summary: %{summary} @@ -155,11 +153,11 @@ BuildArch: noarch %description -n %{name}+rt-devel %{_description} -This package contains library source intended for building other packages -which use "rt" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "rt" feature of the "%{crate}" crate. %files -n %{name}+rt-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slab-devel Summary: %{summary} @@ -167,11 +165,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}+time-devel Summary: %{summary} @@ -179,11 +177,23 @@ BuildArch: noarch %description -n %{name}+time-devel %{_description} -This package contains library source intended for building other packages -which use "time" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tracing-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tracing-devel %{_description} + +This package contains library source intended for building other packages which +use the "tracing" feature of the "%{crate}" crate. + +%files -n %{name}+tracing-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index d0b3444..f2a5c15 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tokio-util-0.6.9.crate) = 95b1bf648106c73bc9a3e63cf438a5fca2969cd9425dcb54aa31f5471a6d68cfd9fd99da0b8c86a3b268e618be77f3957d7c88fa072c970dababa4d8965f916a +SHA512 (tokio-util-0.7.1.crate) = 738e206a107d721dbbaa6cebbf24153af317338416a7fee632e3a895f7702df9538629d2016cb0e7cd28338e7e38e9d6ac5e289dedce2d0230f3d852b4814f20