From f17c30ef12421b25e306a312bacd19e38e043fdb Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Mon, 15 Jan 2024 00:03:52 +0100
Subject: [PATCH] Update to version 2.5.0; Fixes RHBZ#2250928

---
 .gitignore              | 1 +
 rust-data-encoding.spec | 8 ++++----
 sources                 | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index c7ca673..3abb4d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /data-encoding-2.3.2.crate
 /data-encoding-2.3.3.crate
 /data-encoding-2.4.0.crate
+/data-encoding-2.5.0.crate
diff --git a/rust-data-encoding.spec b/rust-data-encoding.spec
index c00a8b5..5b4ffad 100644
--- a/rust-data-encoding.spec
+++ b/rust-data-encoding.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
 %bcond_without check
 %global debug_package %{nil}
 
 %global crate data-encoding
 
 Name:           rust-data-encoding
-Version:        2.4.0
+Version:        2.5.0
 Release:        %autorelease
 Summary:        Efficient and customizable data-encoding functions like base64, base32, and hex
 
@@ -13,7 +13,7 @@ License:        MIT
 URL:            https://crates.io/crates/data-encoding
 Source:         %{crates_source}
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Efficient and customizable data-encoding functions like base64, base32,
@@ -72,7 +72,7 @@ use the "std" 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 fcd108d..929299b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (data-encoding-2.4.0.crate) = b16c4bd5999a4f1281d6691ce05f8bc2a109cf422dd4fa4e7b26b573b2a4b7e33e2fb246681846bbf85fcb6361c115f509898724eb6526f1f49f55acb4f9ad7a
+SHA512 (data-encoding-2.5.0.crate) = b1de8bcfd7cfbfb988091fdb550eb98dfa5739ff58c4b789663e5db0d539c9acf145ccd72d87f7e1cdefd09d5771772d131d2b2e2589ac8f0bc6972c801ee0ae