# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate vfs Name: rust-vfs Version: 0.12.0 Release: %autorelease Summary: Virtual filesystem for Rust License: Apache-2.0 URL: https://crates.io/crates/vfs Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Bump uuid to 1 # * Relax rust-embed version pin Patch: vfs-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A virtual filesystem for Rust.} %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}+async-recursion-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-recursion-devel %{_description} This package contains library source intended for building other packages which use the "async-recursion" feature of the "%{crate}" crate. %files -n %{name}+async-recursion-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}+async-trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-trait-devel %{_description} This package contains library source intended for building other packages which use the "async-trait" feature of the "%{crate}" crate. %files -n %{name}+async-trait-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-vfs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-vfs-devel %{_description} This package contains library source intended for building other packages which use the "async-vfs" feature of the "%{crate}" crate. %files -n %{name}+async-vfs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+camino-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+camino-devel %{_description} This package contains library source intended for building other packages which use the "camino" feature of the "%{crate}" crate. %files -n %{name}+camino-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+embedded-fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+embedded-fs-devel %{_description} This package contains library source intended for building other packages which use the "embedded-fs" feature of the "%{crate}" crate. %files -n %{name}+embedded-fs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+export-test-macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+export-test-macros-devel %{_description} This package contains library source intended for building other packages which use the "export-test-macros" feature of the "%{crate}" crate. %files -n %{name}+export-test-macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust-embed-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust-embed-devel %{_description} This package contains library source intended for building other packages which use the "rust-embed" feature of the "%{crate}" crate. %files -n %{name}+rust-embed-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 %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