commit 746b728e53dfcc8e8b1fc575c684c4005b08bd91 Author: tigro Date: Mon Jan 15 22:56:16 2024 +0300 import rust-tokio-core-0.1.18-6.el9 diff --git a/.rust-tokio-core.metadata b/.rust-tokio-core.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/tokio-core-0.1.18.crate b/SOURCES/tokio-core-0.1.18.crate new file mode 100644 index 0000000..7ee43e5 Binary files /dev/null and b/SOURCES/tokio-core-0.1.18.crate differ diff --git a/SOURCES/tokio-core-fix-metadata.diff b/SOURCES/tokio-core-fix-metadata.diff new file mode 100644 index 0000000..7b4f008 --- /dev/null +++ b/SOURCES/tokio-core-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tokio-core-0.1.18/Cargo.toml 2020-12-05T09:02:14+00:00 ++++ tokio-core-0.1.18/Cargo.toml 2020-12-07T15:31:20.845309+00:00 +@@ -36,7 +36,7 @@ + version = "0.6.12" + + [dependencies.scoped-tls] +-version = "0.1.0" ++version = "1" + + [dependencies.tokio] + version = "0.1.5" diff --git a/SPECS/rust-tokio-core.spec b/SPECS/rust-tokio-core.spec new file mode 100644 index 0000000..f19b683 --- /dev/null +++ b/SPECS/rust-tokio-core.spec @@ -0,0 +1,162 @@ +# Generated by rust2rpm 16 +# * latest version of flate2 removed the tokio 0.1 support feature: +# https://github.com/tokio-rs/tokio-core/issues/331 +%bcond_with check +%global debug_package %{nil} + +%global crate tokio-core + +Name: rust-%{crate} +Version: 0.1.18 +Release: 6%{?dist} +Summary: Core I/O and event loop primitives for asynchronous I/O in Rust + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/tokio-core +Source: %{crates_source} +# Initial patched metadata +# * Update scoped-tls to 1 +Patch0: tokio-core-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Core I/O and event loop primitives for asynchronous I/O in Rust. Foundation for +the rest of the tokio crates.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/{appveyor.yml,.travis.yml} + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 +* Mon Jan 15 2024 Arkady L. Shane - 0.1.18-6 +- Rebuilt for MSVSphere 9.3 + +* Thu Aug 18 2022 Fabio Valentini - 0.1.18-6 +- Disable checks due to flaky tests and the broken flate2/tokio dependency. + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.18-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.18-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 07 2020 Fabio Valentini - 0.1.18-1 +- Update to version 0.1.18. +- Fixes RHBZ#1904651 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.1.17-14 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.17-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.17-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.17-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 19:30:09 CEST 2019 Igor Gnatenko - 0.1.17-10 +- Regenerate + +* Sun Apr 21 07:11:40 CEST 2019 Igor Gnatenko - 0.1.17-9 +- Update scoped-tls to 1 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.17-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 0.1.17-7 +- Allow deprecated warnings + +* Fri Nov 09 2018 Josh Stone - 0.1.17-6 +- Adapt to new packaging + +* Sat Jul 28 2018 Igor Gnatenko - 0.1.17-5 +- Rebuild to trigger tests + +* Sat Jul 21 2018 Igor Gnatenko - 0.1.17-4 +- Rebuild to trigger tests + +* Sat Jul 21 2018 Igor Gnatenko - 0.1.17-3 +- Run tests in infrastructure + +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Apr 13 2018 Igor Gnatenko - 0.1.17-1 +- Update to 0.1.17 + +* Fri Mar 23 2018 Josh Stone - 0.1.16-1 +- Update to 0.1.16 + +* Mon Mar 12 2018 Igor Gnatenko - 0.1.15-1 +- Update to 0.1.15 + +* Fri Mar 09 2018 Josh Stone - 0.1.12-3 +- Use an explicit call to resolve tokio-io conflict + +* Fri Feb 09 2018 Fedora Release Engineering - 0.1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 13 2018 Igor Gnatenko - 0.1.12-1 +- Update to 0.1.12 + +* Fri Jun 16 2017 Igor Gnatenko - 0.1.8-1 +- Initial package