|
|
|
@ -1,33 +1,29 @@
|
|
|
|
|
# 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}0.5
|
|
|
|
|
Version: 0.5.13
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Logging implementation for `log` which is configured via environment variable
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/env_logger
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
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.0 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}
|
|
|
|
|
|
|
|
|
@ -70,9 +66,12 @@ which use "regex" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -85,6 +84,9 @@ which use "regex" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Sep 07 09:28:15 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.13-6
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.13-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|