# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate mlua_derive Name: rust-mlua_derive Version: 0.11.0 Release: %autorelease Summary: Procedural macros for the mlua crate License: MIT URL: https://crates.io/crates/mlua_derive Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Procedural macros for the mlua crate.} %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 %{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}+itertools-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+itertools-devel %{_description} This package contains library source intended for building other packages which use the "itertools" feature of the "%{crate}" crate. %files -n %{name}+itertools-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+once_cell-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+once_cell-devel %{_description} This package contains library source intended for building other packages which use the "once_cell" feature of the "%{crate}" crate. %files -n %{name}+once_cell-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proc-macro-error2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proc-macro-error2-devel %{_description} This package contains library source intended for building other packages which use the "proc-macro-error2" feature of the "%{crate}" crate. %files -n %{name}+proc-macro-error2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-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