# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate profiling-procmacros Name: rust-profiling-procmacros Version: 1.0.17 Release: %autorelease Summary: Very thin abstraction over other profiler crates License: MIT OR Apache-2.0 URL: https://crates.io/crates/profiling-procmacros Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: This crate provides a very thin abstraction over other profiler crates.} %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 # FIXME: no license files detected %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}+profile-with-optick-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+profile-with-optick-devel %{_description} This package contains library source intended for building other packages which use the "profile-with-optick" feature of the "%{crate}" crate. %files -n %{name}+profile-with-optick-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+profile-with-puffin-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+profile-with-puffin-devel %{_description} This package contains library source intended for building other packages which use the "profile-with-puffin" feature of the "%{crate}" crate. %files -n %{name}+profile-with-puffin-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+profile-with-superluminal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+profile-with-superluminal-devel %{_description} This package contains library source intended for building other packages which use the "profile-with-superluminal" feature of the "%{crate}" crate. %files -n %{name}+profile-with-superluminal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+profile-with-tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+profile-with-tracing-devel %{_description} This package contains library source intended for building other packages which use the "profile-with-tracing" feature of the "%{crate}" crate. %files -n %{name}+profile-with-tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+profile-with-tracy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+profile-with-tracy-devel %{_description} This package contains library source intended for building other packages which use the "profile-with-tracy" feature of the "%{crate}" crate. %files -n %{name}+profile-with-tracy-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 %autochangelog