# Generated by rust2rpm 25 # * circular dependency on ntex, which pulls in a lot of other dependencies %bcond_with check %global debug_package %{nil} %global crate ntex-bytes Name: rust-ntex-bytes Version: 0.1.22 Release: %autorelease Summary: Types and traits for working with bytes (bytes crate fork) License: MIT OR Apache-2.0 URL: https://crates.io/crates/ntex-bytes Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Types and traits for working with bytes (bytes crate fork).} %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}+simd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simd-devel %{_description} This package contains library source intended for building other packages which use the "simd" feature of the "%{crate}" crate. %files -n %{name}+simd-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simdutf8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simdutf8-devel %{_description} This package contains library source intended for building other packages which use the "simdutf8" feature of the "%{crate}" crate. %files -n %{name}+simdutf8-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 %endif %changelog %autochangelog