diff --git a/.gitignore b/.gitignore index 1f352c1..c560e81 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /colored-1.9.3.crate /colored-2.0.0.crate /colored-2.0.4.crate +/colored-2.1.0.crate diff --git a/colored-fix-metadata-auto.diff b/colored-fix-metadata-auto.diff index 090c4a3..a066a72 100644 --- a/colored-fix-metadata-auto.diff +++ b/colored-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- 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 @@ +--- 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 @@ [features] no-color = [] diff --git a/rust-colored.spec b/rust-colored.spec index 4b4c8a4..dd0ba04 100644 --- a/rust-colored.spec +++ b/rust-colored.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests are not compatible with a stable version of rspec %bcond_with check %global debug_package %{nil} @@ -6,17 +6,17 @@ %global crate colored Name: rust-colored -Version: 2.0.4 +Version: 2.1.0 Release: %autorelease Summary: Most simple way to add colors in your terminal License: MPL-2.0 URL: https://crates.io/crates/colored Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: colored-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The most simple way to add colors in your terminal.} @@ -63,7 +63,7 @@ use the "no-color" 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 diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..8c53754 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests are not compatible with a stable version of rspec"] + diff --git a/sources b/sources index 35d69a6..dcda98c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (colored-2.0.4.crate) = 38e664d23546d77c81da6f5eca6ee8113d6ce20107bf7325255de2c59d532e662ee1f751420bba8ccbbe468b8cb13f743050e4145d0e1f1e37087a1f3a65ada0 +SHA512 (colored-2.1.0.crate) = fa70f18fb29f6870a727d8243808c96e9497f8302f5f2b1748f9d9e396031e9c53a025b8edc9c8c9a0f8cfca12e5da73250a71e382b3074e9415b85bc004769e