# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate prost-build Name: rust-prost-build0.11 Version: 0.11.9 Release: %autorelease Summary: Protocol Buffers implementation for the Rust Language License: Apache-2.0 URL: https://crates.io/crates/prost-build Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: A Protocol Buffers implementation for the Rust Language.} %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}/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}+cleanup-markdown-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cleanup-markdown-devel %{_description} This package contains library source intended for building other packages which use the "cleanup-markdown" feature of the "%{crate}" crate. %files -n %{name}+cleanup-markdown-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+format-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+format-devel %{_description} This package contains library source intended for building other packages which use the "format" feature of the "%{crate}" crate. %files -n %{name}+format-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+prettyplease-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+prettyplease-devel %{_description} This package contains library source intended for building other packages which use the "prettyplease" feature of the "%{crate}" crate. %files -n %{name}+prettyplease-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pulldown-cmark-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pulldown-cmark-devel %{_description} This package contains library source intended for building other packages which use the "pulldown-cmark" feature of the "%{crate}" crate. %files -n %{name}+pulldown-cmark-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pulldown-cmark-to-cmark-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pulldown-cmark-to-cmark-devel %{_description} This package contains library source intended for building other packages which use the "pulldown-cmark-to-cmark" feature of the "%{crate}" crate. %files -n %{name}+pulldown-cmark-to-cmark-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+syn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+syn-devel %{_description} This package contains library source intended for building other packages which use the "syn" feature of the "%{crate}" crate. %files -n %{name}+syn-devel %ghost %{crate_instdir}/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 -- --all-targets -- --skip tests::deterministic_include_file --skip tests::finalize_package --skip tests::smoke_test --skip tests::test_generate_field_attributes --skip tests::test_generate_message_attributes --skip tests::test_generate_no_empty_outputs %endif %changelog %autochangelog