From 9e3a2087f0ee5178784151b28c958f634f827f05 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Jan 2025 16:50:47 +0100 Subject: [PATCH] Update to version 2.2.0; Fixes RHBZ#2332479 --- .gitignore | 1 + colored-fix-metadata-auto.diff | 8 ++++---- rust-colored.spec | 6 +++--- sources | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index c560e81..f41b4da 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /colored-2.0.0.crate /colored-2.0.4.crate /colored-2.1.0.crate +/colored-2.2.0.crate diff --git a/colored-fix-metadata-auto.diff b/colored-fix-metadata-auto.diff index a066a72..cd47fd9 100644 --- a/colored-fix-metadata-auto.diff +++ b/colored-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- colored-2.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ colored-2.1.0/Cargo.toml 2024-01-04T19:09:14.556304+00:00 -@@ -40,9 +40,3 @@ +--- colored-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ colored-2.2.0/Cargo.toml 2025-01-03T15:49:49.077155+00:00 +@@ -81,9 +81,3 @@ [features] no-color = [] -[target."cfg(windows)".dependencies.windows-sys] --version = "0.48" +-version = ">=0.48,<=0.59" -features = [ - "Win32_Foundation", - "Win32_System_Console", diff --git a/rust-colored.spec b/rust-colored.spec index dd0ba04..258044a 100644 --- a/rust-colored.spec +++ b/rust-colored.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 27 # * tests are not compatible with a stable version of rspec -%bcond_with check +%bcond check 0 %global debug_package %{nil} %global crate colored Name: rust-colored -Version: 2.1.0 +Version: 2.2.0 Release: %autorelease Summary: Most simple way to add colors in your terminal diff --git a/sources b/sources index dcda98c..b75ceef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (colored-2.1.0.crate) = fa70f18fb29f6870a727d8243808c96e9497f8302f5f2b1748f9d9e396031e9c53a025b8edc9c8c9a0f8cfca12e5da73250a71e382b3074e9415b85bc004769e +SHA512 (colored-2.2.0.crate) = 4e3266c498a18a464b6640c0b735519f91b30fc1e001236badd4885a7fad80fe230e262fed4a8d07d54b4eb7dd24df4daebce84cfc0a4f29b6582153e11df5ea