# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate napi-derive-backend Name: rust-napi-derive-backend Version: 4.0.1 Release: %autorelease Summary: Codegen backend for napi procedural macro License: MIT URL: https://crates.io/crates/napi-derive-backend Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Codegen backend for napi procedural macro.} %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}/CHANGELOG.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}+noop-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+noop-devel %{_description} This package contains library source intended for building other packages which use the "noop" feature of the "%{crate}" crate. %files -n %{name}+noop-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+semver-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+semver-devel %{_description} This package contains library source intended for building other packages which use the "semver" feature of the "%{crate}" crate. %files -n %{name}+semver-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+strict-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+strict-devel %{_description} This package contains library source intended for building other packages which use the "strict" feature of the "%{crate}" crate. %files -n %{name}+strict-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 %package -n %{name}+type-def-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+type-def-devel %{_description} This package contains library source intended for building other packages which use the "type-def" feature of the "%{crate}" crate. %files -n %{name}+type-def-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