# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate combine Name: rust-combine3 Version: 3.8.1 Release: %autorelease Summary: Fast parser combinators on arbitrary streams with zero-copy support License: MIT URL: https://crates.io/crates/combine Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fast parser combinators on arbitrary streams with zero-copy support.} %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}+combine-regex-1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+combine-regex-1-devel %{_description} This package contains library source intended for building other packages which use the "combine-regex-1" feature of the "%{crate}" crate. %files -n %{name}+combine-regex-1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+doc-devel %{_description} This package contains library source intended for building other packages which use the "doc" feature of the "%{crate}" crate. %files -n %{name}+doc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mp4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mp4-devel %{_description} This package contains library source intended for building other packages which use the "mp4" feature of the "%{crate}" crate. %files -n %{name}+mp4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-1-devel %{_description} This package contains library source intended for building other packages which use the "regex-1" feature of the "%{crate}" crate. %files -n %{name}+regex-1-devel %ghost %{crate_instdir}/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 the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 -- --all-targets %endif %changelog %autochangelog