From 49cc07c0727fa6a9a6fe8ec25b730dae7aad3cf7 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Wed, 20 Mar 2024 14:31:11 -0500 Subject: [PATCH] Update to 3.0.0 (rhbz#2262589) Signed-off-by: Michel Lind --- .gitignore | 1 + rust-supports-hyperlinks.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4010fe5..8e012b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /supports-hyperlinks-1.2.0.crate /supports-hyperlinks-2.0.0.crate /supports-hyperlinks-2.1.0.crate +/supports-hyperlinks-3.0.0.crate diff --git a/rust-supports-hyperlinks.spec b/rust-supports-hyperlinks.spec index b35a04d..cdbf7f9 100644 --- a/rust-supports-hyperlinks.spec +++ b/rust-supports-hyperlinks.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate supports-hyperlinks Name: rust-supports-hyperlinks -Version: 2.1.0 +Version: 3.0.0 Release: %autorelease Summary: Detects whether a terminal supports rendering hyperlinks @@ -13,7 +13,7 @@ License: Apache-2.0 URL: https://crates.io/crates/supports-hyperlinks Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Detects whether a terminal supports rendering hyperlinks.} @@ -48,7 +48,7 @@ use the "default" 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/sources b/sources index 73b9052..c116b17 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (supports-hyperlinks-2.1.0.crate) = 7e27519c1e8f49c6ee11094eec18acbb41d481f6be0bd3f5e4e96bd0f1ce5d650c40e75a2190ee767c9c5268cbc6855a986a4751d317668a93e43bd9b3ac8e64 +SHA512 (supports-hyperlinks-3.0.0.crate) = a64e441dd48a03324fcd159a16d59d1a65bf4745d15e251e315c43a4fe7f27fa15414dfc61616d915e33b1168da304e9163b249d92d2b109bf4f4b0d7ebe48be