# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate metrics-exporter-prometheus Name: rust-metrics-exporter-prometheus Version: 0.15.1 Release: %autorelease Summary: Metrics-compatible exporter for sending metrics to Prometheus License: MIT URL: https://crates.io/crates/metrics-exporter-prometheus Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A metrics-compatible exporter for sending metrics to Prometheus.} %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}+_hyper-client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+_hyper-client-devel %{_description} This package contains library source intended for building other packages which use the "_hyper-client" feature of the "%{crate}" crate. %files -n %{name}+_hyper-client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+_hyper-server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+_hyper-server-devel %{_description} This package contains library source intended for building other packages which use the "_hyper-server" feature of the "%{crate}" crate. %files -n %{name}+_hyper-server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-runtime-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-runtime-devel %{_description} This package contains library source intended for building other packages which use the "async-runtime" feature of the "%{crate}" crate. %files -n %{name}+async-runtime-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http-body-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http-body-util-devel %{_description} This package contains library source intended for building other packages which use the "http-body-util" feature of the "%{crate}" crate. %files -n %{name}+http-body-util-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http-listener-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http-listener-devel %{_description} This package contains library source intended for building other packages which use the "http-listener" feature of the "%{crate}" crate. %files -n %{name}+http-listener-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper-devel %{_description} This package contains library source intended for building other packages which use the "hyper" feature of the "%{crate}" crate. %files -n %{name}+hyper-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper-rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper-rustls-devel %{_description} This package contains library source intended for building other packages which use the "hyper-rustls" feature of the "%{crate}" crate. %files -n %{name}+hyper-rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hyper-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hyper-util-devel %{_description} This package contains library source intended for building other packages which use the "hyper-util" feature of the "%{crate}" crate. %files -n %{name}+hyper-util-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ipnet-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ipnet-devel %{_description} This package contains library source intended for building other packages which use the "ipnet" feature of the "%{crate}" crate. %files -n %{name}+ipnet-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+push-gateway-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+push-gateway-devel %{_description} This package contains library source intended for building other packages which use the "push-gateway" feature of the "%{crate}" crate. %files -n %{name}+push-gateway-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}+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 %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog %autochangelog