From 497a85a9c7a4be45f95995aa1fe274b1d0b2492c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 30 Jan 2024 13:46:24 +0100 Subject: [PATCH] Update to version 0.6.11; Fixes RHBZ#2258660 --- .gitignore | 1 + anstream-fix-metadata-auto.diff | 6 +++--- anstream-fix-metadata.diff | 10 +++++----- rust-anstream.spec | 4 +--- sources | 2 +- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 7d766e7..41614de 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /anstream-0.6.4.crate /anstream-0.6.5.crate /anstream-0.6.7.crate +/anstream-0.6.11.crate diff --git a/anstream-fix-metadata-auto.diff b/anstream-fix-metadata-auto.diff index f8c4b6b..cc20370 100644 --- a/anstream-fix-metadata-auto.diff +++ b/anstream-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- anstream-0.6.7/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ anstream-0.6.7/Cargo.toml 2024-01-13T20:33:07.049395+00:00 -@@ -137,8 +137,5 @@ +--- anstream-0.6.11/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ anstream-0.6.11/Cargo.toml 2024-01-30T12:43:27.994291+00:00 +@@ -133,8 +133,5 @@ "wincon", ] test = [] diff --git a/anstream-fix-metadata.diff b/anstream-fix-metadata.diff index 6e86eb3..fb948d4 100644 --- a/anstream-fix-metadata.diff +++ b/anstream-fix-metadata.diff @@ -1,5 +1,5 @@ ---- anstream-0.6.7/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ anstream-0.6.7/Cargo.toml 2024-01-13T20:33:29.402484+00:00 +--- anstream-0.6.11/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ anstream-0.6.11/Cargo.toml 2024-01-30T12:43:53.183433+00:00 @@ -83,18 +83,6 @@ [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD""" search = "" @@ -19,7 +19,7 @@ [dependencies.anstyle] version = "1.0.0" -@@ -111,9 +99,6 @@ +@@ -110,9 +98,6 @@ [dependencies.utf8parse] version = "0.2.1" @@ -29,8 +29,8 @@ [dev-dependencies.lexopt] version = "0.3.0" -@@ -134,8 +119,5 @@ - ] +@@ -130,8 +115,5 @@ + auto = ["dep:anstyle-query"] default = [ "auto", - "wincon", diff --git a/rust-anstream.spec b/rust-anstream.spec index a048a2c..b82cf4f 100644 --- a/rust-anstream.spec +++ b/rust-anstream.spec @@ -5,7 +5,7 @@ %global crate anstream Name: rust-anstream -Version: 0.6.7 +Version: 0.6.11 Release: %autorelease Summary: Simple cross platform library for writing colored text to a terminal @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: anstream-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * drop unused, benchmark-only criterion dev-dependency -# * drop Windows-specific features Patch: anstream-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/sources b/sources index 3a4af68..b7b50b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anstream-0.6.7.crate) = 54231141acec85947e4b24f2a27c02c406a2cfe40e92a39b4f38c4b5234e1ca8a27021bb15c759c927d40448ad6203656a3841cc51e480b962fb1ebf199a3522 +SHA512 (anstream-0.6.11.crate) = f8dd65cc116a1495782a3bfc98edfdd0973ab22ea2fafd292fb4bd3495af7b5ea410f320d3fa05f7f812fa96c2a20f4cd2af9fc58869a1a306f32714cbe45163