# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate metrics-util Name: rust-metrics-util Version: 0.18.0 Release: %autorelease Summary: Helper types/functions used by the metrics ecosystem License: MIT URL: https://crates.io/crates/metrics-util Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * - Relax predicates dependencies # * - Bump mockall dependency Patch: metrics-util-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: tomcli %global _description %{expand: Helper types/functions used by the metrics ecosystem.} %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}+ahash-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ahash-devel %{_description} This package contains library source intended for building other packages which use the "ahash" feature of the "%{crate}" crate. %files -n %{name}+ahash-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+aho-corasick-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aho-corasick-devel %{_description} This package contains library source intended for building other packages which use the "aho-corasick" feature of the "%{crate}" crate. %files -n %{name}+aho-corasick-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-epoch-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crossbeam-epoch-devel %{_description} This package contains library source intended for building other packages which use the "crossbeam-epoch" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-epoch-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossbeam-utils-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+crossbeam-utils-devel %{_description} This package contains library source intended for building other packages which use the "crossbeam-utils" feature of the "%{crate}" crate. %files -n %{name}+crossbeam-utils-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debugging-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debugging-devel %{_description} This package contains library source intended for building other packages which use the "debugging" feature of the "%{crate}" crate. %files -n %{name}+debugging-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+handles-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+handles-devel %{_description} This package contains library source intended for building other packages which use the "handles" feature of the "%{crate}" crate. %files -n %{name}+handles-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hashbrown-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hashbrown-devel %{_description} This package contains library source intended for building other packages which use the "hashbrown" feature of the "%{crate}" crate. %files -n %{name}+hashbrown-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}+layer-filter-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+layer-filter-devel %{_description} This package contains library source intended for building other packages which use the "layer-filter" feature of the "%{crate}" crate. %files -n %{name}+layer-filter-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+layer-router-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+layer-router-devel %{_description} This package contains library source intended for building other packages which use the "layer-router" feature of the "%{crate}" crate. %files -n %{name}+layer-router-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+layers-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+layers-devel %{_description} This package contains library source intended for building other packages which use the "layers" feature of the "%{crate}" crate. %files -n %{name}+layers-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ordered-float-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ordered-float-devel %{_description} This package contains library source intended for building other packages which use the "ordered-float" feature of the "%{crate}" crate. %files -n %{name}+ordered-float-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quanta-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quanta-devel %{_description} This package contains library source intended for building other packages which use the "quanta" feature of the "%{crate}" crate. %files -n %{name}+quanta-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+radix_trie-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+radix_trie-devel %{_description} This package contains library source intended for building other packages which use the "radix_trie" feature of the "%{crate}" crate. %files -n %{name}+radix_trie-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+recency-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+recency-devel %{_description} This package contains library source intended for building other packages which use the "recency" feature of the "%{crate}" crate. %files -n %{name}+recency-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+registry-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+registry-devel %{_description} This package contains library source intended for building other packages which use the "registry" feature of the "%{crate}" crate. %files -n %{name}+registry-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sketches-ddsketch-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sketches-ddsketch-devel %{_description} This package contains library source intended for building other packages which use the "sketches-ddsketch" feature of the "%{crate}" crate. %files -n %{name}+sketches-ddsketch-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+summary-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+summary-devel %{_description} This package contains library source intended for building other packages which use the "summary" feature of the "%{crate}" crate. %files -n %{name}+summary-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep # Do not depend on criterion; it is needed only for benchmarks. tomcli set Cargo.toml del dev-dependencies.criterion %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog %autochangelog