# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate strum_macros Name: rust-strum_macros0.20 Version: 0.20.1 Release: %autorelease Summary: Helpful macros for working with enums and strings License: MIT URL: https://crates.io/crates/strum_macros Source: %{crates_source} # Prevent cicular dependency with crate(strum/default) Patch: strum_macros-fix-circular-dependency.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: Helpful macros for working with enums and strings.} %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 %{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}+verbose-asrefstr-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-asrefstr-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-asrefstr-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-asrefstr-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-asstaticstr-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-asstaticstr-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-asstaticstr-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-asstaticstr-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-display-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-display-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-display-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-display-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-enumcount-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-enumcount-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-enumcount-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-enumcount-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-enumdiscriminants-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-enumdiscriminants-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-enumdiscriminants-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-enumdiscriminants-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-enumiter-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-enumiter-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-enumiter-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-enumiter-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-enummessage-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-enummessage-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-enummessage-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-enummessage-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-enumproperty-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-enumproperty-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-enumproperty-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-enumproperty-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-enumstring-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-enumstring-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-enumstring-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-enumstring-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-intostaticstr-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-intostaticstr-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-intostaticstr-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-intostaticstr-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-tostring-name-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-tostring-name-devel %{_description} This package contains library source intended for building other packages which use the "verbose-tostring-name" feature of the "%{crate}" crate. %files -n %{name}+verbose-tostring-name-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verbose-variant-names-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verbose-variant-names-devel %{_description} This package contains library source intended for building other packages which use the "verbose-variant-names" feature of the "%{crate}" crate. %files -n %{name}+verbose-variant-names-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test -- all-targets %endif %changelog %autochangelog