# Generated by rust2rpm 20 # * tests rely on missing or removed dev-dependencies %bcond_with check %global debug_package %{nil} %global crate combine Name: rust-%{crate} Version: 4.6.3 Release: %autorelease Summary: Fast parser combinators on arbitrary streams with zero-copy support # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/combine Source: %{crates_source} # Initial patched metadata # * drop features and dependencies for tokio 0.3 Patch0: combine-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %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 LICENSE %doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes-devel %{_description} This package contains library source intended for building other packages which use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+bytes_05-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes_05-devel %{_description} This package contains library source intended for building other packages which use the "bytes_05" feature of the "%{crate}" crate. %files -n %{name}+bytes_05-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-03-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-03-devel %{_description} This package contains library source intended for building other packages which use the "futures-03" feature of the "%{crate}" crate. %files -n %{name}+futures-03-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-core-03-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-core-03-devel %{_description} This package contains library source intended for building other packages which use the "futures-core-03" feature of the "%{crate}" crate. %files -n %{name}+futures-core-03-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-io-03-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-io-03-devel %{_description} This package contains library source intended for building other packages which use the "futures-io-03" feature of the "%{crate}" crate. %files -n %{name}+futures-io-03-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pin-project-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pin-project-devel %{_description} This package contains library source intended for building other packages which use the "pin-project" feature of the "%{crate}" crate. %files -n %{name}+pin-project-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+pin-project-lite-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pin-project-lite-devel %{_description} This package contains library source intended for building other packages which use the "pin-project-lite" feature of the "%{crate}" crate. %files -n %{name}+pin-project-lite-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-02-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-02-devel %{_description} This package contains library source intended for building other packages which use the "tokio-02" feature of the "%{crate}" crate. %files -n %{name}+tokio-02-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-02-dep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-02-dep-devel %{_description} This package contains library source intended for building other packages which use the "tokio-02-dep" feature of the "%{crate}" crate. %files -n %{name}+tokio-02-dep-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-dep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-dep-devel %{_description} This package contains library source intended for building other packages which use the "tokio-dep" feature of the "%{crate}" crate. %files -n %{name}+tokio-dep-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-util-devel %{_description} This package contains library source intended for building other packages which use the "tokio-util" feature of the "%{crate}" crate. %files -n %{name}+tokio-util-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %endif %changelog %autochangelog