## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 27 %bcond check 1 %global debug_package %{nil} %global crate tokio Name: rust-tokio Version: 1.44.0 Release: %autorelease Summary: Event-driven, non-blocking I/O platform License: MIT URL: https://crates.io/crates/tokio Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: tokio-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop tests that can only be compiled in-workspace Patch: tokio-fix-metadata.diff Patch: 0001-skip-one-doctest-that-pulls-in-an-additional-depende.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.} %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}+bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes-devel %{_description} This package contains library source intended for building other packages which use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fs-devel %{_description} This package contains library source intended for building other packages which use the "fs" feature of the "%{crate}" crate. %files -n %{name}+fs-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}+io-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-std-devel %{_description} This package contains library source intended for building other packages which use the "io-std" feature of the "%{crate}" crate. %files -n %{name}+io-std-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}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-devel %{_description} This package contains library source intended for building other packages which use the "mio" feature of the "%{crate}" crate. %files -n %{name}+mio-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}+parking_lot-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parking_lot-devel %{_description} This package contains library source intended for building other packages which use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+process-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+process-devel %{_description} This package contains library source intended for building other packages which use the "process" feature of the "%{crate}" crate. %files -n %{name}+process-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}+rt-multi-thread-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rt-multi-thread-devel %{_description} This package contains library source intended for building other packages which use the "rt-multi-thread" feature of the "%{crate}" crate. %files -n %{name}+rt-multi-thread-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+signal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+signal-devel %{_description} This package contains library source intended for building other packages which use the "signal" feature of the "%{crate}" crate. %files -n %{name}+signal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+signal-hook-registry-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+signal-hook-registry-devel %{_description} This package contains library source intended for building other packages which use the "signal-hook-registry" feature of the "%{crate}" crate. %files -n %{name}+signal-hook-registry-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+socket2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+socket2-devel %{_description} This package contains library source intended for building other packages which use the "socket2" feature of the "%{crate}" crate. %files -n %{name}+socket2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sync-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sync-devel %{_description} This package contains library source intended for building other packages which use the "sync" feature of the "%{crate}" crate. %files -n %{name}+sync-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test-util-devel %{_description} This package contains library source intended for building other packages which use the "test-util" feature of the "%{crate}" crate. %files -n %{name}+test-util-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 %package -n %{name}+tokio-macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-macros-devel %{_description} This package contains library source intended for building other packages which use the "tokio-macros" feature of the "%{crate}" crate. %files -n %{name}+tokio-macros-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Fri Mar 07 2025 Fabio Valentini - 1.44.0-1 - Update to version 1.44.0; Fixes RHBZ#2350692 * Thu Jan 23 2025 Fabio Valentini - 1.43.0-1 - Update to version 1.43.0; Fixes RHBZ#2336434 * Sun Jan 19 2025 Fedora Release Engineering - 1.42.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Dec 04 2024 Fabio Valentini - 1.42.0-1 - Update to version 1.42.0; Fixes RHBZ#2330158 * Thu Nov 07 2024 Fabio Valentini - 1.41.1-1 - Update to version 1.41.1; Fixes RHBZ#2324358 * Tue Oct 22 2024 Fabio Valentini - 1.41.0-1 - Update to version 1.41.0; Fixes RHBZ#2320889 * Tue Sep 03 2024 Fabio Valentini - 1.40.0-1 - Update to version 1.40.0; Fixes RHBZ#2306097 * Mon Jul 29 2024 Fabio Valentini - 1.39.2-1 - Update to version 1.39.2; Fixes RHBZ#2298245 * Sat Jul 20 2024 Fedora Release Engineering - 1.38.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Fabio Valentini - 1.38.0-1 - Update to version 1.38.0; Fixes RHBZ#2284043 * Tue Apr 16 2024 Fabio Valentini - 1.37.0-1 - Update to version 1.37.0; Fixes RHBZ#2272079 * Sun Feb 04 2024 Fabio Valentini - 1.36.0-1 - Update to version 1.36.0; Fixes RHBZ#2262394 * Sat Jan 27 2024 Fedora Release Engineering - 1.35.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 04 2024 Fabio Valentini - 1.35.1-1 - Update to version 1.35.1; Fixes RHBZ#2253715 * Thu Nov 16 2023 Fabio Valentini - 1.34.0-1 - Update to version 1.34.0; Fixes RHBZ#2248943 * Tue Oct 10 2023 Fabio Valentini - 1.33.0-1 - Update to version 1.33.0; Fixes RHBZ#2242843 * Sun Aug 27 2023 Fabio Valentini - 1.32.0-1 - Update to version 1.32.0; Fixes RHBZ#2231625 * Wed Aug 09 2023 Fabio Valentini - 1.30.0-2 - Skip a test that tends to hang indefinitely * Wed Aug 09 2023 Fabio Valentini - 1.30.0-1 - Update to version 1.30.0; Fixes RHBZ#2230566 * Sat Jul 22 2023 Fedora Release Engineering - 1.29.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 08 2023 Fabio Valentini - 1.29.1-1 - Update to version 1.29.1; Fixes RHBZ#2218032 * Sun May 28 2023 Fabio Valentini - 1.28.2-1 - Update to version 1.28.2; Fixes RHBZ#2210497 * Thu May 11 2023 Fabio Valentini - 1.28.1-1 - Update to version 1.28.1; Fixes RHBZ#2196813 * Fri Apr 28 2023 Fabio Valentini - 1.28.0-1 - Update to version 1.28.0; Fixes RHBZ#2189634 * Tue Apr 18 2023 Fabio Valentini - 1.27.0-1 - Update to version 1.27.0; Fixes RHBZ#2182211 * Wed Mar 01 2023 Fabio Valentini - 1.26.0-1 - Update to version 1.26.0; Fixes RHBZ#2174594 * Wed Feb 15 2023 Fabio Valentini - 1.25.0-1 - Update to version 1.25.0; Fixes RHBZ#2165407 * Sat Jan 28 2023 Fabio Valentini - 1.24.2-1 - Update to version 1.24.2; Fixes RHBZ#2158273 * Sat Jan 21 2023 Fedora Release Engineering - 1.23.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 12 2022 Fabio Valentini - 1.23.0-1 - Update to version 1.23.0; Fixes RHBZ#2144073 * Wed Oct 05 2022 Fabio Valentini - 1.21.2-1 - Update to version 1.21.2; Fixes RHBZ#2126412 * Mon Sep 05 2022 Fabio Valentini - 1.21.0-1 - Update to version 1.21.0; Fixes RHBZ#2123734 * Tue Jul 26 2022 Fabio Valentini - 1.20.1-1 - Update to version 1.20.1; Fixes RHBZ#2110480 * Sat Jul 23 2022 Fedora Release Engineering - 1.20.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 15 2022 Fabio Valentini - 1.20.0-1 - Update to version 1.20.0; Fixes RHBZ#2093464 * Wed May 25 2022 Fabio Valentini - 1.18.2-1 - Update to version 1.18.2; Fixes RHBZ#2079538 * Thu Mar 03 2022 Fabio Valentini - 1.17.0-1 - Update to version 1.17.0; Fixes RHBZ#2055388 * Mon Jan 31 2022 Fabio Valentini - 1.16.1-1 - Update to version 1.16.1; Fixes RHBZ#2047514 * Fri Jan 21 2022 Fedora Release Engineering - 1.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 15 2021 Fabio Valentini - 1.15.0-1 - Update to version 1.15.0; Fixes RHBZ#2033049 * Tue Nov 16 2021 Fabio Valentini - 1.14.0-1 - Update to version 1.14.0; Fixes RHBZ#2023504 * Mon Nov 01 2021 Fabio Valentini - 1.13.0-1 - Update to version 1.13.0; Fixes RHBZ#2018553 * Mon Sep 27 2021 Fabio Valentini - 1.12.0-1 - Update to version 1.12.0; Fixes RHBZ#1999880 * Fri Aug 27 2021 Fabio Valentini - 1.10.1-1 - Update to version 1.10.1; Fixes RHBZ#1993372 * Thu Jul 29 2021 Fabio Valentini - 1.9.0-1 - Update to version 1.9.0; Fixes RHBZ#1984845 * Fri Jul 23 2021 Fedora Release Engineering - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 20 2021 Fabio Valentini - 1.8.2-1 - Update to version 1.8.2; Fixes RHBZ#1983781 * Fri Jul 09 2021 Fabio Valentini - 1.8.1-1 - Update to version 1.8.1; Fixes RHBZ#1973890 * Wed Jun 16 2021 Fabio Valentini - 1.7.0-1 - Update to version 1.7.0. - Fixes RHBZ#1972004 * Sun May 30 2021 Fabio Valentini - 1.6.1-1 - Update to version 1.6.1. - Fixes RHBZ#1965651 * Sun May 16 2021 Fabio Valentini - 1.6.0-1 - Update to version 1.6.0. - Fixes RHBZ#1960722 * Thu Apr 22 2021 Fabio Valentini - 1.5.0-1 - Update to version 1.5.0. - Fixes RHBZ#1948747 * Sun Mar 21 2021 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0. - Fixes RHBZ#1937130 * Sun Feb 07 2021 Fabio Valentini - 1.2.0-1 - Update to version 1.2.0. - Fixes RHBZ#1919459 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 15 2021 Fabio Valentini - 1.0.2-1 - Update to version 1.0.2. - Fixes RHBZ#1916523 * Mon Jan 11 20:05:50 CET 2021 Igor Raits - 1.0.1-1 - Update to 1.0.1 (Fixes: RHBZ#1888743) * Mon Jan 11 19:51:45 CET 2021 Igor Raits - 0.2.24-1 - Update to 0.2.24 * Fri Sep 11 2020 Josh Stone - 0.2.22-4 - Bump to parking_lot 0.11 * Sat Aug 01 2020 Fedora Release Engineering - 0.2.22-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 22 2020 Josh Stone - 0.2.22-1 - Update to 0.2.22 * Thu May 14 2020 Josh Stone - 0.2.21-1 - Update to 0.2.21 * Wed Apr 29 2020 Josh Stone - 0.2.20-1 - Update to 0.2.20 * Tue Apr 14 2020 Josh Stone - 0.2.18-1 - Update to 0.2.18 * Sat Apr 04 2020 Josh Stone - 0.2.16-1 - Update to 0.2.16 * Thu Apr 02 2020 Josh Stone - 0.2.15-1 - Update to 0.2.15 * Wed Apr 01 2020 Josh Stone - 0.2.14-1 - Update to 0.2.14 * Fri Feb 28 2020 Josh Stone - 0.2.13-1 - Update to 0.2.13 * Thu Feb 27 2020 Josh Stone - 0.2.12-1 - Update to 0.2.12 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Josh Stone - 0.2.11-1 - Update to 0.2.11 * Wed Jan 15 2020 Josh Stone - 0.2.9-1 - Update to 0.2.9 * Tue Dec 10 2019 Josh Stone - 0.2.4-1 - Update to 0.2.4 * Fri Jul 26 2019 Fedora Release Engineering - 0.1.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 06 11:28:18 CEST 2019 Igor Gnatenko - 0.1.22-1 - Update to 0.1.22 * Fri Jun 21 18:42:54 CEST 2019 Igor Gnatenko - 0.1.21-2 - Regenerate * Fri May 31 2019 Josh Stone - 0.1.21-1 - Update to 0.1.21 * Wed May 15 08:20:46 CEST 2019 Igor Gnatenko - 0.1.20-1 - Update to 0.1.20 * Tue Apr 23 15:15:48 CEST 2019 Igor Gnatenko - 0.1.19-1 - Update to 0.1.19 * Sun Mar 24 20:08:56 CET 2019 Igor Gnatenko - 0.1.18-1 - Update to 0.1.18 * Mon Mar 04 2019 Igor Gnatenko - 0.1.16-1 - Update to 0.1.16 * Sat Feb 02 2019 Fedora Release Engineering - 0.1.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 25 2019 Josh Stone - 0.1.15-1 - Update to 0.1.15 * Tue Jan 08 2019 Josh Stone - 0.1.14-1 - Update to 0.1.14 * Thu Nov 08 2018 Josh Stone - 0.1.11-2 - Adapt to new packaging * Fri Sep 28 2018 Josh Stone - 0.1.11-1 - Update to 0.1.11 * Fri Sep 28 2018 Josh Stone - 0.1.10-1 - Update to 0.1.10 * Mon Sep 10 2018 Josh Stone - 0.1.8-1 - Update to 0.1.8 * Sat Jul 28 2018 Igor Gnatenko - 0.1.7-5 - Rebuild to trigger tests * Sat Jul 28 2018 Igor Gnatenko - 0.1.7-4 - Rebuild to trigger tests * Sat Jul 14 2018 Fedora Release Engineering - 0.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 15 2018 Igor Gnatenko - 0.1.7-2 - Add dev-dep on tokio-codec * Mon Jun 11 2018 Igor Gnatenko - 0.1.7-1 - Update to 0.1.7 * Thu May 03 2018 Josh Stone - 0.1.6-1 - Update to 0.1.6 * Tue Apr 03 2018 Igor Gnatenko - 0.1.5-1 - Update to 0.1.5 * Fri Mar 23 2018 Josh Stone - 0.1.4-1 - Update to 0.1.4 * Mon Mar 12 2018 Igor Gnatenko - 0.1.3-1 - Update to 0.1.3 * Fri Mar 09 2018 Igor Gnatenko - 0.1.2-1 - Initial package ## END: Generated by rpmautospec