# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate delog Name: rust-delog Version: 0.1.8 Release: %autorelease Summary: Deferred logging, an implementation and extension of Rust's standard logging License: Apache-2.0 OR MIT URL: https://crates.io/crates/delog Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Deferred logging, an implementation and extension of Rust's standard logging facade.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+example-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+example-devel %{_description} This package contains library source intended for building other packages which use the "example" feature of the "%{crate}" crate. %files -n %{name}+example-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+knock-it-off-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+knock-it-off-devel %{_description} This package contains library source intended for building other packages which use the "knock-it-off" feature of the "%{crate}" crate. %files -n %{name}+knock-it-off-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_level_debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_level_debug-devel %{_description} This package contains library source intended for building other packages which use the "max_level_debug" feature of the "%{crate}" crate. %files -n %{name}+max_level_debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_level_error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_level_error-devel %{_description} This package contains library source intended for building other packages which use the "max_level_error" feature of the "%{crate}" crate. %files -n %{name}+max_level_error-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_level_info-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_level_info-devel %{_description} This package contains library source intended for building other packages which use the "max_level_info" feature of the "%{crate}" crate. %files -n %{name}+max_level_info-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_level_off-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_level_off-devel %{_description} This package contains library source intended for building other packages which use the "max_level_off" feature of the "%{crate}" crate. %files -n %{name}+max_level_off-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_level_trace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_level_trace-devel %{_description} This package contains library source intended for building other packages which use the "max_level_trace" feature of the "%{crate}" crate. %files -n %{name}+max_level_trace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_level_warn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_level_warn-devel %{_description} This package contains library source intended for building other packages which use the "max_level_warn" feature of the "%{crate}" crate. %files -n %{name}+max_level_warn-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+portable-atomic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+portable-atomic-devel %{_description} This package contains library source intended for building other packages which use the "portable-atomic" feature of the "%{crate}" crate. %files -n %{name}+portable-atomic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+release_max_level_debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+release_max_level_debug-devel %{_description} This package contains library source intended for building other packages which use the "release_max_level_debug" feature of the "%{crate}" crate. %files -n %{name}+release_max_level_debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+release_max_level_error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+release_max_level_error-devel %{_description} This package contains library source intended for building other packages which use the "release_max_level_error" feature of the "%{crate}" crate. %files -n %{name}+release_max_level_error-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+release_max_level_info-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+release_max_level_info-devel %{_description} This package contains library source intended for building other packages which use the "release_max_level_info" feature of the "%{crate}" crate. %files -n %{name}+release_max_level_info-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+release_max_level_off-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+release_max_level_off-devel %{_description} This package contains library source intended for building other packages which use the "release_max_level_off" feature of the "%{crate}" crate. %files -n %{name}+release_max_level_off-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+release_max_level_trace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+release_max_level_trace-devel %{_description} This package contains library source intended for building other packages which use the "release_max_level_trace" feature of the "%{crate}" crate. %files -n %{name}+release_max_level_trace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+release_max_level_warn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+release_max_level_warn-devel %{_description} This package contains library source intended for building other packages which use the "release_max_level_warn" feature of the "%{crate}" crate. %files -n %{name}+release_max_level_warn-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-log-devel %{_description} This package contains library source intended for building other packages which use the "std-log" feature of the "%{crate}" crate. %files -n %{name}+std-log-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