# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate zlink-smol Name: rust-zlink-smol Version: 0.2.0 Release: %autorelease Summary: Zlink library for the smol runtime License: MIT URL: https://crates.io/crates/zlink-smol Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Zlink library for the smol 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 %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}+idl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+idl-devel %{_description} This package contains library source intended for building other packages which use the "idl" feature of the "%{crate}" crate. %files -n %{name}+idl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+idl-parse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+idl-parse-devel %{_description} This package contains library source intended for building other packages which use the "idl-parse" feature of the "%{crate}" crate. %files -n %{name}+idl-parse-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+introspection-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+introspection-devel %{_description} This package contains library source intended for building other packages which use the "introspection" feature of the "%{crate}" crate. %files -n %{name}+introspection-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proxy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proxy-devel %{_description} This package contains library source intended for building other packages which use the "proxy" feature of the "%{crate}" crate. %files -n %{name}+proxy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-devel %{_description} This package contains library source intended for building other packages which use the "server" feature of the "%{crate}" crate. %files -n %{name}+server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f tracing %build %cargo_build -f tracing %install %cargo_install -f tracing %if %{with check} %check %cargo_test -f tracing %endif %changelog %autochangelog