commit e59c242ff1dc6c804edfe98721f1aac0a82bbd58 Author: MSVSphere Packaging Team Date: Fri Dec 20 17:54:22 2024 +0300 import rust-tokio-stream-0.1.17-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0fc9c18 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tokio-stream-0.1.17.crate diff --git a/.rust-tokio-stream.metadata b/.rust-tokio-stream.metadata new file mode 100644 index 0000000..de073e0 --- /dev/null +++ b/.rust-tokio-stream.metadata @@ -0,0 +1 @@ +10da95598bec52542287d2e49f42f5478b602513 SOURCES/tokio-stream-0.1.17.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..c5781e6 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] diff --git a/SPECS/rust-tokio-stream.spec b/SPECS/rust-tokio-stream.spec new file mode 100644 index 0000000..0e6a2e6 --- /dev/null +++ b/SPECS/rust-tokio-stream.spec @@ -0,0 +1,234 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 27 +# * tests can only be run in-tree +%bcond check 0 +%global debug_package %{nil} + +%global crate tokio-stream + +Name: rust-tokio-stream +Version: 0.1.17 +Release: %autorelease +Summary: Utilities to work with Stream and tokio + +License: MIT +URL: https://crates.io/crates/tokio-stream +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Utilities to work with `Stream` and `tokio`.} + +%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 + +%package -n %{name}+fs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fs-devel %{_description} + +This package contains library source intended for building other packages which +use the "fs" feature of the "%{crate}" crate. + +%files -n %{name}+fs-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+full-devel %{_description} + +This package contains library source intended for building other packages which +use the "full" feature of the "%{crate}" crate. + +%files -n %{name}+full-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+io-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+io-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "io-util" feature of the "%{crate}" crate. + +%files -n %{name}+io-util-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+net-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+net-devel %{_description} + +This package contains library source intended for building other packages which +use the "net" feature of the "%{crate}" crate. + +%files -n %{name}+net-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+signal-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+signal-devel %{_description} + +This package contains library source intended for building other packages which +use the "signal" feature of the "%{crate}" crate. + +%files -n %{name}+signal-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sync-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sync-devel %{_description} + +This package contains library source intended for building other packages which +use the "sync" feature of the "%{crate}" crate. + +%files -n %{name}+sync-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+time-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+time-devel %{_description} + +This package contains library source intended for building other packages which +use the "time" feature of the "%{crate}" crate. + +%files -n %{name}+time-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-util" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-util-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.1.17-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Dec 09 2024 Fabio Valentini - 0.1.17-1 +- Update to version 0.1.17; Fixes RHBZ#2330766 + +* Tue Sep 17 2024 Fabio Valentini - 0.1.16-1 +- Update to version 0.1.16; Fixes RHBZ#2310203 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.1.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Apr 05 2024 blinxen - 0.1.15-1 +- Update to version 0.1.15; Fixes RHBZ#2269613 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.1.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 0.1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Apr 26 2023 Fabio Valentini - 0.1.14-1 +- Update to version 0.1.14; Fixes RHBZ#2189635 + +* Mon Feb 20 2023 Fabio Valentini - 0.1.12-1 +- Update to version 0.1.12; Fixes RHBZ#2171398 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.1.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 0.1.11-1 +- Update to version 0.1.11; Fixes RHBZ#2133864 + +* Wed Oct 05 2022 Fabio Valentini - 0.1.10-1 +- Update to version 0.1.10; Fixes RHBZ#2127739 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jul 16 2022 Fabio Valentini - 0.1.9-1 +- Update to version 0.1.9; Fixes RHBZ#2093639 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 01 2021 Fabio Valentini - 0.1.8-1 +- Update to version 0.1.8; Fixes RHBZ#2018554 + +* Mon Sep 27 2021 Fabio Valentini - 0.1.7-1 +- Update to version 0.1.7; Fixes RHBZ#2001712 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Mar 25 2021 Fabio Valentini - 0.1.5-1 +- Initial package + +## END: Generated by rpmautospec