From 9d8b719d59194e327085c7fcb69c2dae5ba526a7 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 14:49:53 +0300 Subject: [PATCH] import rust-async-stream-0.3.6-1.el10 --- .gitignore | 1 + .rust-async-stream.metadata | 1 + SOURCES/rust2rpm.toml | 4 ++ SPECS/rust-async-stream.spec | 120 +++++++++++++++++++++++++++++++++++ 4 files changed, 126 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-async-stream.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-async-stream.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee77841 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/async-stream-0.3.6.crate diff --git a/.rust-async-stream.metadata b/.rust-async-stream.metadata new file mode 100644 index 0000000..22c1d20 --- /dev/null +++ b/.rust-async-stream.metadata @@ -0,0 +1 @@ +2e47a2fc3a1ed9b9700937ff6c9b88bf3cc5140a SOURCES/async-stream-0.3.6.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..6b74e94 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["resolve dependency loop with tokio-test"] + diff --git a/SPECS/rust-async-stream.spec b/SPECS/rust-async-stream.spec new file mode 100644 index 0000000..bb99dda --- /dev/null +++ b/SPECS/rust-async-stream.spec @@ -0,0 +1,120 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 26 +# * resolve dependency loop with tokio-test +%bcond_with check +%global debug_package %{nil} + +%global crate async-stream + +Name: rust-async-stream +Version: 0.3.6 +Release: %autorelease +Summary: Asynchronous streams using async & await notation + +License: MIT +URL: https://crates.io/crates/async-stream +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Asynchronous streams using async & await notation.} + +%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 + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.3.6-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Oct 07 2024 Fabio Valentini - 0.3.6-1 +- Update to version 0.3.6; Fixes RHBZ#2316009 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.3.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Apr 17 2023 Fabio Valentini - 0.3.5-1 +- Update to version 0.3.5; Fixes RHBZ#2184739 + +* Tue Feb 28 2023 Fabio Valentini - 0.3.4-1 +- Update to version 0.3.4; Fixes RHBZ#2171149 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 13 2022 Fabio Valentini - 0.3.3-1 +- Update to version 0.3.3; Fixes RHBZ#2063591 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 01 2021 Fabio Valentini - 0.3.2-1 +- Initial package + +## END: Generated by rpmautospec