## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 24 # * tests can be run only in-tree %bcond_with check %global debug_package %{nil} %global crate tokio-util Name: rust-tokio-util0.6 Version: 0.6.10 Release: %autorelease Summary: Additional utilities for working with Tokio License: MIT URL: https://crates.io/crates/tokio-util Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Additional utilities for working with Tokio.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+__docs_rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__docs_rs-devel %{_description} This package contains library source intended for building other packages which use the "__docs_rs" feature of the "%{crate}" crate. %files -n %{name}+__docs_rs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+codec-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+codec-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+compat-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compat-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+full-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+full-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+futures-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-io-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+futures-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-util-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+io-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-util-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+net-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+net-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+rt-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rt-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+slab-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+slab-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} 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 %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 0.6.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Valentini - 0.6.10-5 - Regenerate with rust2rpm v24 * Sat Jul 22 2023 Fedora Release Engineering - 0.6.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.6.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.6.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Fabio Valentini - 0.6.10-1 - Update to version 0.6.10 * Fri May 13 2022 Fabio Valentini - 0.6.9-1 - Initial import (tokio-util 0.6 compat package) ## END: Generated by rpmautospec