diff --git a/.gitignore b/.gitignore index f175e97..1f352c1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /colored-1.9.2.crate /colored-1.9.3.crate /colored-2.0.0.crate +/colored-2.0.4.crate diff --git a/colored-fix-metadata-auto.diff b/colored-fix-metadata-auto.diff index fd7390b..090c4a3 100644 --- a/colored-fix-metadata-auto.diff +++ b/colored-fix-metadata-auto.diff @@ -1,10 +1,12 @@ ---- colored-2.0.0/Cargo.toml 2020-07-14T06:26:13+00:00 -+++ colored-2.0.0/Cargo.toml 2023-05-18T15:53:58.450468+00:00 -@@ -33,7 +33,3 @@ - +--- colored-2.0.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ colored-2.0.4/Cargo.toml 2023-07-05T19:10:52.982587+00:00 +@@ -43,9 +43,3 @@ [features] no-color = [] --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["consoleapi", "processenv", "winbase"] --default-features = false + +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.48" +-features = [ +- "Win32_Foundation", +- "Win32_System_Console", +-] diff --git a/rust-colored.spec b/rust-colored.spec index 0e9b2c0..4b4c8a4 100644 --- a/rust-colored.spec +++ b/rust-colored.spec @@ -6,7 +6,7 @@ %global crate colored Name: rust-colored -Version: 2.0.0 +Version: 2.0.4 Release: %autorelease Summary: Most simple way to add colors in your terminal @@ -64,8 +64,6 @@ use the "no-color" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -# remove executable bit from source files -find -type f -executable -exec chmod -v -x '{}' + %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 2cae500..35d69a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (colored-2.0.0.crate) = c9ee830c1e8a32372ab8c7ce569701deaa6533fa369fc1b4c04bed57b1e686ed775fc76c3d9815ad21ee69cfc7c30d645abcbacad39081c7e37ff83ebb6d9e8a +SHA512 (colored-2.0.4.crate) = 38e664d23546d77c81da6f5eca6ee8113d6ce20107bf7325255de2c59d532e662ee1f751420bba8ccbbe468b8cb13f743050e4145d0e1f1e37087a1f3a65ada0