|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate anstream
|
|
|
|
%global crate anstream
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-anstream
|
|
|
|
Name: rust-anstream
|
|
|
|
Version: 0.6.7
|
|
|
|
Version: 0.6.18
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
@ -15,9 +15,10 @@ Source: %{crates_source}
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
Patch: anstream-fix-metadata-auto.diff
|
|
|
|
Patch: anstream-fix-metadata-auto.diff
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
# * drop unused, benchmark-only divan dev-dependency
|
|
|
|
# * drop Windows-specific features
|
|
|
|
# * drop unnecessary is-terminal polyfill (MSRV 1.65 -> 1.70 is OK downstream)
|
|
|
|
Patch: anstream-fix-metadata.diff
|
|
|
|
Patch: anstream-fix-metadata.diff
|
|
|
|
|
|
|
|
Patch: 0001-drop-is_terminal_polyfill-and-replace-with-std-io-Is.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
@ -77,6 +78,18 @@ use the "test" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+test-devel
|
|
|
|
%files -n %{name}+test-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+wincon-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+wincon-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "wincon" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+wincon-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|