From d7c7318b0cfbabfdd00177fc4f1fc9432920bb35 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:55:36 +0300 Subject: [PATCH] import rust-tower-0.5.2-1.el10 --- .gitignore | 1 + .rust-tower.metadata | 1 + SOURCES/rust2rpm.toml | 7 + SPECS/rust-tower.spec | 459 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 468 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-tower.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-tower.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc43a22 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tower-0.5.2.crate diff --git a/.rust-tower.metadata b/.rust-tower.metadata new file mode 100644 index 0000000..fc477a9 --- /dev/null +++ b/.rust-tower.metadata @@ -0,0 +1 @@ +70a072638e16e45258c0cde0cecd21b9205a785e SOURCES/tower-0.5.2.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..2b7e40d --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Modular and reusable components for building robust clients and servers" + +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/SPECS/rust-tower.spec b/SPECS/rust-tower.spec new file mode 100644 index 0000000..616bcea --- /dev/null +++ b/SPECS/rust-tower.spec @@ -0,0 +1,459 @@ +## 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 tower + +Name: rust-tower +Version: 0.5.2 +Release: %autorelease +Summary: Modular and reusable components for building robust clients and servers + +License: MIT +URL: https://crates.io/crates/tower +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Tower is a library of modular and reusable components for building +robust clients and servers.} + +%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}+__common-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__common-devel %{_description} + +This package contains library source intended for building other packages which +use the "__common" feature of the "%{crate}" crate. + +%files -n %{name}+__common-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+balance-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+balance-devel %{_description} + +This package contains library source intended for building other packages which +use the "balance" feature of the "%{crate}" crate. + +%files -n %{name}+balance-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+buffer-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+buffer-devel %{_description} + +This package contains library source intended for building other packages which +use the "buffer" feature of the "%{crate}" crate. + +%files -n %{name}+buffer-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+discover-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+discover-devel %{_description} + +This package contains library source intended for building other packages which +use the "discover" feature of the "%{crate}" crate. + +%files -n %{name}+discover-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+filter-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+filter-devel %{_description} + +This package contains library source intended for building other packages which +use the "filter" feature of the "%{crate}" crate. + +%files -n %{name}+filter-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}+futures-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-core-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures-core" feature of the "%{crate}" crate. + +%files -n %{name}+futures-core-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+futures-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures-util" feature of the "%{crate}" crate. + +%files -n %{name}+futures-util-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hdrhistogram-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hdrhistogram-devel %{_description} + +This package contains library source intended for building other packages which +use the "hdrhistogram" feature of the "%{crate}" crate. + +%files -n %{name}+hdrhistogram-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hedge-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hedge-devel %{_description} + +This package contains library source intended for building other packages which +use the "hedge" feature of the "%{crate}" crate. + +%files -n %{name}+hedge-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+indexmap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indexmap-devel %{_description} + +This package contains library source intended for building other packages which +use the "indexmap" feature of the "%{crate}" crate. + +%files -n %{name}+indexmap-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+limit-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+limit-devel %{_description} + +This package contains library source intended for building other packages which +use the "limit" feature of the "%{crate}" crate. + +%files -n %{name}+limit-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+load-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+load-devel %{_description} + +This package contains library source intended for building other packages which +use the "load" feature of the "%{crate}" crate. + +%files -n %{name}+load-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+load-shed-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+load-shed-devel %{_description} + +This package contains library source intended for building other packages which +use the "load-shed" feature of the "%{crate}" crate. + +%files -n %{name}+load-shed-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages which +use the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+make-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+make-devel %{_description} + +This package contains library source intended for building other packages which +use the "make" feature of the "%{crate}" crate. + +%files -n %{name}+make-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pin-project-lite-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pin-project-lite-devel %{_description} + +This package contains library source intended for building other packages which +use the "pin-project-lite" feature of the "%{crate}" crate. + +%files -n %{name}+pin-project-lite-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ready-cache-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ready-cache-devel %{_description} + +This package contains library source intended for building other packages which +use the "ready-cache" feature of the "%{crate}" crate. + +%files -n %{name}+ready-cache-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+reconnect-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+reconnect-devel %{_description} + +This package contains library source intended for building other packages which +use the "reconnect" feature of the "%{crate}" crate. + +%files -n %{name}+reconnect-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+retry-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+retry-devel %{_description} + +This package contains library source intended for building other packages which +use the "retry" feature of the "%{crate}" crate. + +%files -n %{name}+retry-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+slab-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+slab-devel %{_description} + +This package contains library source intended for building other packages which +use the "slab" feature of the "%{crate}" crate. + +%files -n %{name}+slab-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+spawn-ready-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+spawn-ready-devel %{_description} + +This package contains library source intended for building other packages which +use the "spawn-ready" feature of the "%{crate}" crate. + +%files -n %{name}+spawn-ready-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+steer-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+steer-devel %{_description} + +This package contains library source intended for building other packages which +use the "steer" feature of the "%{crate}" crate. + +%files -n %{name}+steer-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sync_wrapper-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sync_wrapper-devel %{_description} + +This package contains library source intended for building other packages which +use the "sync_wrapper" feature of the "%{crate}" crate. + +%files -n %{name}+sync_wrapper-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+timeout-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+timeout-devel %{_description} + +This package contains library source intended for building other packages which +use the "timeout" feature of the "%{crate}" crate. + +%files -n %{name}+timeout-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-stream-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-stream-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-stream" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-stream-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 + +%package -n %{name}+tracing-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tracing-devel %{_description} + +This package contains library source intended for building other packages which +use the "tracing" feature of the "%{crate}" crate. + +%files -n %{name}+tracing-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+util-devel %{_description} + +This package contains library source intended for building other packages which +use the "util" feature of the "%{crate}" crate. + +%files -n %{name}+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.5.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Dec 12 2024 Fabio Valentini - 0.5.2-1 +- Update to version 0.5.2; Fixes RHBZ#2331677 + +* Tue Oct 08 2024 Fabio Valentini - 0.5.1-1 +- Update to version 0.5.1; Fixes RHBZ#2304674 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.4.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.4.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jul 24 2023 Fabio Valentini - 0.4.13-1 +- Initial import (#2214392) +## END: Generated by rpmautospec