# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate pretty_env_logger Name: rust-%{crate} Version: 0.3.1 Release: 2%{?dist} Summary: Visually pretty env_logger # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/pretty_env_logger Source: %{crates_source} # Initial patched metadata # - Bump env_logger to 0.7.0 Patch0: pretty_env_logger-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Visually pretty env_logger.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %{cargo_registry}/%{crate}-%{version}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/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 * Sun Oct 20 01:48:47 CEST 2019 Robert-André Mauchin - 0.3.1-2 - Bump env_logger to 0.7.0 * Sun Aug 18 16:07:29 CEST 2019 Igor Gnatenko - 0.3.1-1 - Update to 0.3.1 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 10 2019 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Nov 09 2018 Josh Stone - 0.2.5-1 - Update to 0.2.5 - Adapt to new packaging * Sat Jul 14 2018 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jul 12 2018 Igor Gnatenko - 0.2.4-1 - Update to 0.2.4 * Sat May 12 2018 Igor Gnatenko - 0.2.3-1 - Update to 0.2.3 * Mon Mar 26 2018 Josh Stone - 0.2.2-2 - Bump ansi_term to 0.11 * Thu Feb 08 2018 Igor Gnatenko - 0.2.2-1 - Update to 0.2.2 * Thu Feb 08 2018 Igor Gnatenko - 0.2.1-1 - Update to 0.2.1 * Sat Jan 20 2018 Igor Gnatenko - 0.2.0-1 - Update to 0.2.0 * Mon Jan 08 2018 Igor Gnatenko - 0.1.1-2 - Rebuild for rust-packaging v5 * Sun Dec 03 2017 Igor Gnatenko - 0.1.1-1 - Initial package