# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate paris Name: rust-%{crate} Version: 1.5.11 Release: %autorelease Summary: Simple logger for your CLI apps or other things you want in the terminal # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: https://crates.io/crates/paris Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Simple logger for your CLI apps or other things you want in the terminal.} %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 LICENSE %doc CONTRIBUTING.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+no_logger-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_logger-devel %{_description} This package contains library source intended for building other packages which use the "no_logger" feature of the "%{crate}" crate. %files -n %{name}+no_logger-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+timestamps-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+timestamps-devel %{_description} This package contains library source intended for building other packages which use the "timestamps" feature of the "%{crate}" crate. %files -n %{name}+timestamps-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %endif %changelog %autochangelog