# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate pulley-interpreter Name: rust-pulley-interpreter29 Version: 29.0.1 Release: %autorelease Summary: Pulley interpreter, its bytecode definition, encoder, decoder, and etc.. License: Apache-2.0 WITH LLVM-exception URL: https://crates.io/crates/pulley-interpreter Source: %{crates_source} # Remove test with broken feature requirememts Patch: pulley-interpreter-fix-broken-test.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The Pulley interpreter, its bytecode definition, encoder, decoder, and etc...} %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 # FIXME: no license files detected %doc %{crate_instdir}/CONTRIBUTING.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}+arbitrary-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arbitrary-devel %{_description} This package contains library source intended for building other packages which use the "arbitrary" feature of the "%{crate}" crate. %files -n %{name}+arbitrary-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+decode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+decode-devel %{_description} This package contains library source intended for building other packages which use the "decode" feature of the "%{crate}" crate. %files -n %{name}+decode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+disas-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disas-devel %{_description} This package contains library source intended for building other packages which use the "disas" feature of the "%{crate}" crate. %files -n %{name}+disas-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+encode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+encode-devel %{_description} This package contains library source intended for building other packages which use the "encode" feature of the "%{crate}" crate. %files -n %{name}+encode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+interp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+interp-devel %{_description} This package contains library source intended for building other packages which use the "interp" feature of the "%{crate}" crate. %files -n %{name}+interp-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 %endif %changelog %autochangelog