commit 49d948d00790713d4050a67d7c1ccb589a835453 Author: tigro Date: Sat Jan 13 23:24:26 2024 +0300 import rust-tokio-reactor-0.1.12-8.el9 diff --git a/.rust-tokio-reactor.metadata b/.rust-tokio-reactor.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/tokio-reactor-0.1.12.crate b/SOURCES/tokio-reactor-0.1.12.crate new file mode 100644 index 0000000..ee1be5f Binary files /dev/null and b/SOURCES/tokio-reactor-0.1.12.crate differ diff --git a/SOURCES/tokio-reactor-fix-metadata.diff b/SOURCES/tokio-reactor-fix-metadata.diff new file mode 100644 index 0000000..d8e59d1 --- /dev/null +++ b/SOURCES/tokio-reactor-fix-metadata.diff @@ -0,0 +1,17 @@ +--- tokio-reactor-0.1.11/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ tokio-reactor-0.1.11/Cargo.toml 2019-12-14T11:13:22.008680+00:00 +@@ -40,7 +40,7 @@ + version = "1.8.0" + + [dependencies.parking_lot] +-version = "0.9.0" ++version = "0.11.0" + + [dependencies.slab] + version = "0.4.0" +@@ -60,4 +60,4 @@ + version = "0.1.7" + + [dev-dependencies.tokio-io-pool] +-version = "=0.1.4" ++version = "0.1.4" diff --git a/SPECS/rust-tokio-reactor.spec b/SPECS/rust-tokio-reactor.spec new file mode 100644 index 0000000..232c837 --- /dev/null +++ b/SPECS/rust-tokio-reactor.spec @@ -0,0 +1,153 @@ +# Generated by rust2rpm 13 +# Circular dev-dependency with rust-tokio +%bcond_with check +%global debug_package %{nil} + +%global crate tokio-reactor + +Name: rust-%{crate} +Version: 0.1.12 +Release: 8%{?dist} +Summary: Event loop that drives Tokio I/O resources + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/tokio-reactor +Source: %{crates_source} +# Initial patched metadata +# * Don't pin exact dependencies +# * Update parking_lot to 0.11 +Patch0: tokio-reactor-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Event loop that drives Tokio I/O resources.} + +%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 +%doc CHANGELOG.md README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 +* Sat Jan 13 2024 Arkady L. Shane - 0.1.12-8 +- Rebuilt for MSVSphere 9.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.12-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.12-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.12-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.12-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Sep 11 2020 Josh Stone - 0.1.12-4 +- Update parking_lot to 0.11 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.1.12-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Feb 06 2020 Josh Stone - 0.1.12-1 +- Update to 0.1.12 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Dec 14 12:13:22 CET 2019 Igor Gnatenko - 0.1.11-2 +- Update parking_lot to 0.10 + +* Fri Dec 13 2019 Josh Stone - 0.1.11-1 +- Update to 0.1.11 + +* Sat Nov 23 2019 Josh Stone - 0.1.10-1 +- Update to 0.1.10 + +* Sun Aug 04 15:57:52 CEST 2019 Igor Gnatenko - 0.1.9-6 +- Really build + +* Sun Aug 04 15:40:06 CEST 2019 Igor Gnatenko - 0.1.9-1 +- Update parking_lot to 0.9 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 19:28:17 CEST 2019 Igor Gnatenko - 0.1.9-3 +- Regenerate + +* Mon May 06 22:01:18 CEST 2019 Igor Gnatenko - 0.1.9-2 +- Update parking_lot to 0.8 + +* Mon Mar 04 2019 Igor Gnatenko - 0.1.9-1 +- Update to 0.1.9 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 0.1.8-1 +- Update to 0.1.8 + +* Sat Dec 15 2018 Igor Gnatenko - 0.1.7-1 +- Update to 0.1.7 + +* Fri Nov 09 2018 Josh Stone - 0.1.6-3 +- Enable checks + +* Thu Nov 08 2018 Josh Stone - 0.1.6-2 +- Adapt to new packaging + +* Thu Sep 27 2018 Josh Stone - 0.1.6-1 +- Initial package