|
|
@ -1,28 +1,24 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate termcolor
|
|
|
|
%global crate termcolor
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-termcolor
|
|
|
|
Version: 1.1.3
|
|
|
|
Version: 1.4.1
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Simple cross platform library for writing colored text to a terminal
|
|
|
|
Summary: Simple cross platform library for writing colored text to a terminal
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense OR MIT
|
|
|
|
License: Unlicense OR MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/termcolor
|
|
|
|
URL: https://crates.io/crates/termcolor
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
# * drop Windows-specific dependencies
|
|
|
|
Patch: termcolor-fix-metadata-auto.diff
|
|
|
|
Patch0: termcolor-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Simple cross platform library for writing colored text to a terminal.}
|
|
|
|
A simple cross platform library for writing colored text to a terminal.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -55,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|