|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate env_logger
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Logging implementation for `log` which is configured via environment variable
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -16,18 +15,15 @@ URL: https://crates.io/crates/env_logger
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(atty/default) >= 0.2.5 with crate(atty/default) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(humantime/default) >= 1.1.0 with crate(humantime/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(log/std) >= 0.4.0 with crate(log/std) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(regex/default) >= 1.0.3 with crate(regex/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(termcolor/default) >= 1.0.2 with crate(termcolor/default) < 2.0.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
A logging implementation for `log` which is configured via an environment\
|
|
|
|
|
variable.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Logging implementation for `log` which is configured via an environment
|
|
|
|
|
variable.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -109,6 +105,9 @@ which use "termcolor" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -121,6 +120,9 @@ which use "termcolor" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 20 00:12:56 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu Mar 07 2019 Josh Stone <jistone@redhat.com> - 0.6.1-1
|
|
|
|
|
- Update to 0.6.1
|
|
|
|
|
|
|
|
|
|