# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate nvim-rs Name: rust-nvim-rs Version: 0.9.2 Release: %autorelease Summary: Library for writing neovim rpc clients License: LGPL-3.0 URL: https://crates.io/crates/nvim-rs Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A library for writing neovim rpc clients.} %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-APACHE %license %{crate_instdir}/LICENSE-LGPL %license %{crate_instdir}/LICENSE-MIT %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}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use the "async-std" feature of the "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+neovim-lib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+neovim-lib-devel %{_description} This package contains library source intended for building other packages which use the "neovim-lib" feature of the "%{crate}" crate. %files -n %{name}+neovim-lib-devel %ghost %{crate_instdir}/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 %{crate_instdir}/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 %{crate_instdir}/Cargo.toml %package -n %{name}+use_async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_async-std-devel %{_description} This package contains library source intended for building other packages which use the "use_async-std" feature of the "%{crate}" crate. %files -n %{name}+use_async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_neovim_lib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_neovim_lib-devel %{_description} This package contains library source intended for building other packages which use the "use_neovim_lib" feature of the "%{crate}" crate. %files -n %{name}+use_neovim_lib-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_tokio-devel %{_description} This package contains library source intended for building other packages which use the "use_tokio" feature of the "%{crate}" crate. %files -n %{name}+use_tokio-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f use_async-std,use_tokio %build %cargo_build -f use_async-std,use_tokio %install %cargo_install -f use_async-std,use_tokio %if %{with check} %check %cargo_test -f use_async-std,use_tokio %endif %changelog %autochangelog