# Generated by rust2rpm 13 # Some of the tests use relative paths into other crates in the workspace %bcond_with check %global debug_package %{nil} %global crate tracing-futures Name: rust-%{crate} Version: 0.2.4 Release: 1%{?dist} Summary: Utilities for instrumenting `futures` with `tracing` # Upstream license specification: MIT # https://github.com/tokio-rs/tracing/pull/842 License: MIT URL: https://crates.io/crates/tracing-futures Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Utilities for instrumenting `futures` with `tracing`.} %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 %{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 %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use "futures" feature of "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-01-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-01-devel %{_description} This package contains library source intended for building other packages which use "futures-01" feature of "%{crate}" crate. %files -n %{name}+futures-01-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-03-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-03-devel %{_description} This package contains library source intended for building other packages which use "futures-03" feature of "%{crate}" crate. %files -n %{name}+futures-03-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-task-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-task-devel %{_description} This package contains library source intended for building other packages which use "futures-task" feature of "%{crate}" crate. %files -n %{name}+futures-task-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures_01-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures_01-devel %{_description} This package contains library source intended for building other packages which use "futures_01" feature of "%{crate}" crate. %files -n %{name}+futures_01-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pin-project-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pin-project-devel %{_description} This package contains library source intended for building other packages which use "pin-project" feature of "%{crate}" crate. %files -n %{name}+pin-project-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-future-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-future-devel %{_description} This package contains library source intended for building other packages which use "std-future" feature of "%{crate}" crate. %files -n %{name}+std-future-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "tokio" feature of "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-executor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-executor-devel %{_description} This package contains library source intended for building other packages which use "tokio-executor" feature of "%{crate}" crate. %files -n %{name}+tokio-executor-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 * Thu Jul 23 2020 Josh Stone - 0.2.4-1 - Initial package