|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# * rspec is not packaged
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.8.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Most simple way to add colors in your terminal
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MPL-2.0
|
|
|
|
@ -24,13 +24,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(ansi_term/default) >= 0.9.0 with crate(ansi_term/default) < 0.10.0)
|
|
|
|
|
BuildRequires: crate(rspec/default) = 1.0.0~beta.3
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Most simple way to add colors in your terminal.}
|
|
|
|
@ -79,6 +72,9 @@ which use "no-color" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -91,6 +87,9 @@ which use "no-color" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 21 22:27:36 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-3
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 15:37:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|