|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
# * missing dev-dependency: empfindung
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
%global crate ansi_colours
|
|
|
|
|
|
|
|
|
|
Name: rust-ansi_colours
|
|
|
|
|
Version: 1.2.2
|
|
|
|
|
Version: 1.2.3
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: True-colour ↔ ANSI terminal palette converter
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ Source: %{crates_source}
|
|
|
|
|
# * relax termcolor dependency to allow versions >= 1.2
|
|
|
|
|
Patch: ansi_colours-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
True-colour ↔ ANSI terminal palette converter.}
|
|
|
|
@ -62,6 +62,18 @@ use the "ansi_term" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+ansi_term-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+anstyle-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+anstyle-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "anstyle" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+anstyle-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rgb-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -87,7 +99,7 @@ use the "termcolor" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|