# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate cranelift-codegen Name: rust-cranelift-codegen0.108 Version: 0.108.2 Release: %autorelease Summary: Low-level code generator library License: Apache-2.0 WITH LLVM-exception URL: https://crates.io/crates/cranelift-codegen Source: %{crates_source} # Removed benchmarks with unpackaged dependency Patch: cranelift-codegen-drop-benches.diff BuildRequires: cargo-rpm-macros >= 24 ExcludeArch: ppc64le %global _description %{expand: Low-level code generator library.} %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}+all-arch-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all-arch-devel %{_description} This package contains library source intended for building other packages which use the "all-arch" feature of the "%{crate}" crate. %files -n %{name}+all-arch-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+anyhow-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+anyhow-devel %{_description} This package contains library source intended for building other packages which use the "anyhow" feature of the "%{crate}" crate. %files -n %{name}+anyhow-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+arm64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arm64-devel %{_description} This package contains library source intended for building other packages which use the "arm64" feature of the "%{crate}" crate. %files -n %{name}+arm64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+capstone-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+capstone-devel %{_description} This package contains library source intended for building other packages which use the "capstone" feature of the "%{crate}" crate. %files -n %{name}+capstone-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+core-devel %{_description} This package contains library source intended for building other packages which use the "core" feature of the "%{crate}" crate. %files -n %{name}+core-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}+enable-serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+enable-serde-devel %{_description} This package contains library source intended for building other packages which use the "enable-serde" feature of the "%{crate}" crate. %files -n %{name}+enable-serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gimli-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gimli-devel %{_description} This package contains library source intended for building other packages which use the "gimli" feature of the "%{crate}" crate. %files -n %{name}+gimli-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+host-arch-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+host-arch-devel %{_description} This package contains library source intended for building other packages which use the "host-arch" feature of the "%{crate}" crate. %files -n %{name}+host-arch-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+incremental-cache-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+incremental-cache-devel %{_description} This package contains library source intended for building other packages which use the "incremental-cache" feature of the "%{crate}" crate. %files -n %{name}+incremental-cache-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+isle-errors-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+isle-errors-devel %{_description} This package contains library source intended for building other packages which use the "isle-errors" feature of the "%{crate}" crate. %files -n %{name}+isle-errors-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+isle-in-source-tree-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+isle-in-source-tree-devel %{_description} This package contains library source intended for building other packages which use the "isle-in-source-tree" feature of the "%{crate}" crate. %files -n %{name}+isle-in-source-tree-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postcard-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postcard-devel %{_description} This package contains library source intended for building other packages which use the "postcard" feature of the "%{crate}" crate. %files -n %{name}+postcard-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+riscv64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+riscv64-devel %{_description} This package contains library source intended for building other packages which use the "riscv64" feature of the "%{crate}" crate. %files -n %{name}+riscv64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+s390x-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+s390x-devel %{_description} This package contains library source intended for building other packages which use the "s390x" feature of the "%{crate}" crate. %files -n %{name}+s390x-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_derive-devel %{_description} This package contains library source intended for building other packages which use the "serde_derive" feature of the "%{crate}" crate. %files -n %{name}+serde_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha2-devel %{_description} This package contains library source intended for building other packages which use the "sha2" feature of the "%{crate}" crate. %files -n %{name}+sha2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+souper-harvest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+souper-harvest-devel %{_description} This package contains library source intended for building other packages which use the "souper-harvest" feature of the "%{crate}" crate. %files -n %{name}+souper-harvest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+souper-ir-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+souper-ir-devel %{_description} This package contains library source intended for building other packages which use the "souper-ir" feature of the "%{crate}" crate. %files -n %{name}+souper-ir-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 %package -n %{name}+timing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+timing-devel %{_description} This package contains library source intended for building other packages which use the "timing" feature of the "%{crate}" crate. %files -n %{name}+timing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+trace-log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+trace-log-devel %{_description} This package contains library source intended for building other packages which use the "trace-log" feature of the "%{crate}" crate. %files -n %{name}+trace-log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unwind-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unwind-devel %{_description} This package contains library source intended for building other packages which use the "unwind" feature of the "%{crate}" crate. %files -n %{name}+unwind-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x86-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x86-devel %{_description} This package contains library source intended for building other packages which use the "x86" feature of the "%{crate}" crate. %files -n %{name}+x86-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