commit c49005dafaec47bc7a0e4293742872731e3439f7 Author: tigro Date: Sun Jan 14 00:18:37 2024 +0300 import rust-tokio-uds-0.2.7-7.el9 diff --git a/.rust-tokio-uds.metadata b/.rust-tokio-uds.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/tokio-uds-0.2.7.crate b/SOURCES/tokio-uds-0.2.7.crate new file mode 100644 index 0000000..9848623 Binary files /dev/null and b/SOURCES/tokio-uds-0.2.7.crate differ diff --git a/SOURCES/tokio-uds-fix-metadata.diff b/SOURCES/tokio-uds-fix-metadata.diff new file mode 100644 index 0000000..3acdb91 --- /dev/null +++ b/SOURCES/tokio-uds-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tokio-uds-0.2.7/Cargo.toml 2020-07-01T20:40:55+00:00 ++++ tokio-uds-0.2.7/Cargo.toml 2021-02-20T09:03:07.013359+00:00 +@@ -50,7 +50,7 @@ + [dependencies.tokio-reactor] + version = "0.1.1" + [dev-dependencies.tempfile] +-version = "~3.1.0" ++version = "3.1.0" + + [dev-dependencies.tokio] + version = "0.1.6" diff --git a/SPECS/rust-tokio-uds.spec b/SPECS/rust-tokio-uds.spec new file mode 100644 index 0000000..65520bb --- /dev/null +++ b/SPECS/rust-tokio-uds.spec @@ -0,0 +1,139 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate tokio-uds + +Name: rust-%{crate} +Version: 0.2.7 +Release: 7%{?dist} +Summary: Unix Domain sockets for Tokio + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/tokio-uds +Source: %{crates_source} +# Initial patched metadata +# * relax tempfile dependency +Patch0: tokio-uds-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Unix Domain sockets for Tokio.} + +%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 README.md CHANGELOG.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 +* Sun Jan 14 2024 Arkady L. Shane - 0.2.7-7 +- Rebuilt for MSVSphere 9.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.2.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.2.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.2.7-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Feb 20 2021 Fabio Valentini - 0.2.7-4 +- Relax tempfile dependency. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.2.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 0.2.7-1 +- Update to 0.2.7 + +* Thu Feb 06 2020 Josh Stone - 0.2.6-1 +- Update to 0.2.6 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.2.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.2.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 19:27:26 CEST 2019 Igor Gnatenko - 0.2.5-4 +- Regenerate + +* Thu Mar 14 2019 Igor Gnatenko - 0.2.5-3 +- Adapt to new packaging + +* Sat Feb 02 2019 Fedora Release Engineering - 0.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 0.2.5-1 +- Update to 0.2.5 + +* Mon Nov 26 2018 Josh Stone - 0.2.4-1 +- Update to 0.2.4 + +* Fri Nov 09 2018 Josh Stone - 0.2.3-3 +- Enable checks + +* Thu Nov 08 2018 Josh Stone - 0.2.3-2 +- Adapt to new packaging + +* Thu Oct 25 2018 Josh Stone - 0.2.3-1 +- Update to 0.2.3 + +* Fri Sep 28 2018 Josh Stone - 0.2.2-1 +- Update to 0.2.2 + +* Sun Sep 09 2018 Igor Gnatenko - 0.2.1-1 +- Initial package