|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# * rspec is not packaged
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.8.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Most simple way to add colors in your terminal
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MPL-2.0
|
|
|
|
@ -19,16 +19,21 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: colored-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
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 \
|
|
|
|
|
The most simple way to add colors in your terminal.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Most simple way to add colors in your terminal.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -86,6 +91,9 @@ which use "no-color" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 09 15:37:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu May 02 2019 Josh Stone <jistone@redhat.com> - 1.8.0-1
|
|
|
|
|
- Update to 1.8.0
|
|
|
|
|
|
|
|
|
|