# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate wasmer-wasi Name: rust-wasmer-wasi Version: 3.1.1 Release: %autorelease Summary: WASI implementation library for Wasmer WebAssembly runtime License: MIT URL: https://crates.io/crates/wasmer-wasi Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: wasmer-wasi-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: WASI implementation library for Wasmer WebAssembly runtime.} %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}/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}+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}+bincode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bincode-devel %{_description} This package contains library source intended for building other packages which use the "bincode" feature of the "%{crate}" crate. %files -n %{name}+bincode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+disable-all-logging-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disable-all-logging-devel %{_description} This package contains library source intended for building other packages which use the "disable-all-logging" feature of the "%{crate}" crate. %files -n %{name}+disable-all-logging-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}+host-fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+host-fs-devel %{_description} This package contains library source intended for building other packages which use the "host-fs" feature of the "%{crate}" crate. %files -n %{name}+host-fs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+host-vnet-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+host-vnet-devel %{_description} This package contains library source intended for building other packages which use the "host-vnet" feature of the "%{crate}" crate. %files -n %{name}+host-vnet-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+js-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+js-devel %{_description} This package contains library source intended for building other packages which use the "js" feature of the "%{crate}" crate. %files -n %{name}+js-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+js-default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+js-default-devel %{_description} This package contains library source intended for building other packages which use the "js-default" feature of the "%{crate}" crate. %files -n %{name}+js-default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+logging-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+logging-devel %{_description} This package contains library source intended for building other packages which use the "logging" feature of the "%{crate}" crate. %files -n %{name}+logging-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mem-fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mem-fs-devel %{_description} This package contains library source intended for building other packages which use the "mem-fs" feature of the "%{crate}" crate. %files -n %{name}+mem-fs-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_cbor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_cbor-devel %{_description} This package contains library source intended for building other packages which use the "serde_cbor" feature of the "%{crate}" crate. %files -n %{name}+serde_cbor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sys-devel %{_description} This package contains library source intended for building other packages which use the "sys" feature of the "%{crate}" crate. %files -n %{name}+sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sys-default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sys-default-devel %{_description} This package contains library source intended for building other packages which use the "sys-default" feature of the "%{crate}" crate. %files -n %{name}+sys-default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sys-poll-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sys-poll-devel %{_description} This package contains library source intended for building other packages which use the "sys-poll" feature of the "%{crate}" crate. %files -n %{name}+sys-poll-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test-js-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test-js-devel %{_description} This package contains library source intended for building other packages which use the "test-js" feature of the "%{crate}" crate. %files -n %{name}+test-js-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+typetag-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+typetag-devel %{_description} This package contains library source intended for building other packages which use the "typetag" feature of the "%{crate}" crate. %files -n %{name}+typetag-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasix-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasix-devel %{_description} This package contains library source intended for building other packages which use the "wasix" feature of the "%{crate}" crate. %files -n %{name}+wasix-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasmer-emscripten-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasmer-emscripten-devel %{_description} This package contains library source intended for building other packages which use the "wasmer-emscripten" feature of the "%{crate}" crate. %files -n %{name}+wasmer-emscripten-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasmer-wasi-local-networking-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasmer-wasi-local-networking-devel %{_description} This package contains library source intended for building other packages which use the "wasmer-wasi-local-networking" feature of the "%{crate}" crate. %files -n %{name}+wasmer-wasi-local-networking-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webc-devel %{_description} This package contains library source intended for building other packages which use the "webc" feature of the "%{crate}" crate. %files -n %{name}+webc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webc_runner-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webc_runner-devel %{_description} This package contains library source intended for building other packages which use the "webc_runner" feature of the "%{crate}" crate. %files -n %{name}+webc_runner-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webc_runner_rt_emscripten-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webc_runner_rt_emscripten-devel %{_description} This package contains library source intended for building other packages which use the "webc_runner_rt_emscripten" feature of the "%{crate}" crate. %files -n %{name}+webc_runner_rt_emscripten-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+webc_runner_rt_wasi-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+webc_runner_rt_wasi-devel %{_description} This package contains library source intended for building other packages which use the "webc_runner_rt_wasi" feature of the "%{crate}" crate. %files -n %{name}+webc_runner_rt_wasi-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 -- -- --skip sys %endif %changelog %autochangelog