# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate log4rs Name: rust-log4rs Version: 1.3.0 Release: %autorelease Summary: Highly configurable multi-output logging implementation for the log facade License: MIT OR Apache-2.0 URL: https://crates.io/crates/log4rs Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: log4rs-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A highly configurable multi-output logging implementation for the `log` 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}+all_components-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all_components-devel %{_description} This package contains library source intended for building other packages which use the "all_components" feature of the "%{crate}" crate. %files -n %{name}+all_components-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ansi_writer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ansi_writer-devel %{_description} This package contains library source intended for building other packages which use the "ansi_writer" feature of the "%{crate}" crate. %files -n %{name}+ansi_writer-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+background_rotation-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+background_rotation-devel %{_description} This package contains library source intended for building other packages which use the "background_rotation" feature of the "%{crate}" crate. %files -n %{name}+background_rotation-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compound_policy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compound_policy-devel %{_description} This package contains library source intended for building other packages which use the "compound_policy" feature of the "%{crate}" crate. %files -n %{name}+compound_policy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+config_parsing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+config_parsing-devel %{_description} This package contains library source intended for building other packages which use the "config_parsing" feature of the "%{crate}" crate. %files -n %{name}+config_parsing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+console_appender-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+console_appender-devel %{_description} This package contains library source intended for building other packages which use the "console_appender" feature of the "%{crate}" crate. %files -n %{name}+console_appender-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+console_writer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+console_writer-devel %{_description} This package contains library source intended for building other packages which use the "console_writer" feature of the "%{crate}" crate. %files -n %{name}+console_writer-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+delete_roller-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+delete_roller-devel %{_description} This package contains library source intended for building other packages which use the "delete_roller" feature of the "%{crate}" crate. %files -n %{name}+delete_roller-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+file_appender-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+file_appender-devel %{_description} This package contains library source intended for building other packages which use the "file_appender" feature of the "%{crate}" crate. %files -n %{name}+file_appender-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fixed_window_roller-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fixed_window_roller-devel %{_description} This package contains library source intended for building other packages which use the "fixed_window_roller" feature of the "%{crate}" crate. %files -n %{name}+fixed_window_roller-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+flate2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+flate2-devel %{_description} This package contains library source intended for building other packages which use the "flate2" feature of the "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gzip-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gzip-devel %{_description} This package contains library source intended for building other packages which use the "gzip" feature of the "%{crate}" crate. %files -n %{name}+gzip-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+humantime-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+humantime-devel %{_description} This package contains library source intended for building other packages which use the "humantime" feature of the "%{crate}" crate. %files -n %{name}+humantime-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json_encoder-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json_encoder-devel %{_description} This package contains library source intended for building other packages which use the "json_encoder" feature of the "%{crate}" crate. %files -n %{name}+json_encoder-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json_format-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json_format-devel %{_description} This package contains library source intended for building other packages which use the "json_format" feature of the "%{crate}" crate. %files -n %{name}+json_format-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-mdc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log-mdc-devel %{_description} This package contains library source intended for building other packages which use the "log-mdc" feature of the "%{crate}" crate. %files -n %{name}+log-mdc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parking_lot-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parking_lot-devel %{_description} This package contains library source intended for building other packages which use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pattern_encoder-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pattern_encoder-devel %{_description} This package contains library source intended for building other packages which use the "pattern_encoder" feature of the "%{crate}" crate. %files -n %{name}+pattern_encoder-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-devel %{_description} This package contains library source intended for building other packages which use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rolling_file_appender-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rolling_file_appender-devel %{_description} This package contains library source intended for building other packages which use the "rolling_file_appender" feature of the "%{crate}" crate. %files -n %{name}+rolling_file_appender-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-value-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-value-devel %{_description} This package contains library source intended for building other packages which use the "serde-value" feature of the "%{crate}" crate. %files -n %{name}+serde-value-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_yaml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_yaml-devel %{_description} This package contains library source intended for building other packages which use the "serde_yaml" feature of the "%{crate}" crate. %files -n %{name}+serde_yaml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simple_writer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simple_writer-devel %{_description} This package contains library source intended for building other packages which use the "simple_writer" feature of the "%{crate}" crate. %files -n %{name}+simple_writer-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+size_trigger-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+size_trigger-devel %{_description} This package contains library source intended for building other packages which use the "size_trigger" feature of the "%{crate}" crate. %files -n %{name}+size_trigger-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+thread-id-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+thread-id-devel %{_description} This package contains library source intended for building other packages which use the "thread-id" feature of the "%{crate}" crate. %files -n %{name}+thread-id-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+threshold_filter-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+threshold_filter-devel %{_description} This package contains library source intended for building other packages which use the "threshold_filter" feature of the "%{crate}" crate. %files -n %{name}+threshold_filter-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time_trigger-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time_trigger-devel %{_description} This package contains library source intended for building other packages which use the "time_trigger" feature of the "%{crate}" crate. %files -n %{name}+time_trigger-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml-devel %{_description} This package contains library source intended for building other packages which use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml_format-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml_format-devel %{_description} This package contains library source intended for building other packages which use the "toml_format" feature of the "%{crate}" crate. %files -n %{name}+toml_format-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+typemap-ors-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+typemap-ors-devel %{_description} This package contains library source intended for building other packages which use the "typemap-ors" feature of the "%{crate}" crate. %files -n %{name}+typemap-ors-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml_format-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml_format-devel %{_description} This package contains library source intended for building other packages which use the "yaml_format" feature of the "%{crate}" crate. %files -n %{name}+yaml_format-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 -- -- --skip test_no_color %endif %changelog %autochangelog