commit ffb4e1422d854de7118f27f2065bf7a225a765d4 Author: tigro Date: Sat Jan 13 23:15:07 2024 +0300 import rust-tokio-fs-0.1.7-8.el9 diff --git a/.rust-tokio-fs.metadata b/.rust-tokio-fs.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/tokio-fs-0.1.7.crate b/SOURCES/tokio-fs-0.1.7.crate new file mode 100644 index 0000000..2ff5525 Binary files /dev/null and b/SOURCES/tokio-fs-0.1.7.crate differ diff --git a/SOURCES/tokio-fs-fix-metadata.diff b/SOURCES/tokio-fs-fix-metadata.diff new file mode 100644 index 0000000..a29e746 --- /dev/null +++ b/SOURCES/tokio-fs-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tokio-fs-0.1.7/Cargo.toml 2020-02-05T00:25:24+00:00 ++++ tokio-fs-0.1.7/Cargo.toml 2021-02-20T08:58:39.280249+00:00 +@@ -34,7 +34,7 @@ + version = "0.7" + + [dev-dependencies.tempfile] +-version = "~3.1.0" ++version = "3.1.0" + + [dev-dependencies.tokio] + version = "0.1.7" diff --git a/SPECS/rust-tokio-fs.spec b/SPECS/rust-tokio-fs.spec new file mode 100644 index 0000000..b164eda --- /dev/null +++ b/SPECS/rust-tokio-fs.spec @@ -0,0 +1,148 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate tokio-fs + +Name: rust-%{crate} +Version: 0.1.7 +Release: 8%{?dist} +Summary: Filesystem API for Tokio + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/tokio-fs +Source: %{crates_source} +# Initial patched metadata +# * relax tempfile dependency +Patch0: tokio-fs-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Filesystem API 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 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.7-8 +- Rebuilt for MSVSphere 9.2 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.7-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Feb 20 2021 Fabio Valentini - 0.1.7-5 +- Relax tempfile dependency. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.1.7-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Feb 06 2020 Josh Stone - 0.1.7-1 +- Update to 0.1.7 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 19:29:13 CEST 2019 Igor Gnatenko - 0.1.6-2 +- Regenerate + +* Mon Mar 04 2019 Igor Gnatenko - 0.1.6-1 +- Update to 0.1.6 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 0.1.5-1 +- Update to 0.1.5 + +* Thu Nov 08 2018 Josh Stone - 0.1.4-2 +- Adapt to new packaging + +* Thu Oct 25 2018 Josh Stone - 0.1.4-1 +- Update to 0.1.4 + +* Wed Aug 08 2018 Josh Stone - 0.1.3-1 +- Update to 0.1.3 + +* Sat Jul 28 2018 Igor Gnatenko - 0.1.2-4 +- Rebuild to trigger tests + +* Sat Jul 28 2018 Igor Gnatenko - 0.1.2-3 +- Rebuild to trigger tests + +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jul 12 2018 Igor Gnatenko - 0.1.2-1 +- Update to 0.1.2 + +* Tue Jun 19 2018 Josh Stone - 0.1.1-1 +- Update to 0.1.1 + +* Thu May 03 2018 Josh Stone - 0.1.0-1 +- Initial package