From c22989026a19fbb6543ad5d0b5f29581d825b142 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Sun, 18 Feb 2024 16:53:36 +0100
Subject: [PATCH] Update to version 0.1.46; Fixes RHBZ#2263285

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

diff --git a/.gitignore b/.gitignore
index 10eb84d..8d7ff73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /num-integer-0.1.43.crate
 /num-integer-0.1.44.crate
 /num-integer-0.1.45.crate
+/num-integer-0.1.46.crate
diff --git a/rust-num-integer.spec b/rust-num-integer.spec
index 74b0681..90b79ed 100644
--- a/rust-num-integer.spec
+++ b/rust-num-integer.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
 %bcond_without check
 %global debug_package %{nil}
 
 %global crate num-integer
 
 Name:           rust-num-integer
-Version:        0.1.45
+Version:        0.1.46
 Release:        %autorelease
 Summary:        Integer traits and functions
 
@@ -13,7 +13,7 @@ License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/num-integer
 Source:         %{crates_source}
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Integer traits and functions.}
@@ -73,7 +73,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 300c3d5..7247565 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (num-integer-0.1.45.crate) = 731bdc09c3af7f9d8b171041f2957aa60facef93b06886000d8ba60d410aabbbee358d700bf31b2588b2e077464f290f24a0b712df7bb7f12972675b6c9bd735
+SHA512 (num-integer-0.1.46.crate) = e27986d91f6c6dc3d5a0900defe28ab5f47905cde3f84d0914b7acee076dca8fec6fdb7b631ac94d3a31eb01ecbc5854e51afc3187cd1abfa21e1bfafdc700ae