From 29bf48211bb21ed42af3916af7c7d836a66b7903 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 17 Oct 2024 07:42:40 -0600 Subject: [PATCH] Use rusr2rpm 26 --- rust-inflate.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rust-inflate.spec b/rust-inflate.spec index 940539c..cc817ef 100644 --- a/rust-inflate.spec +++ b/rust-inflate.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -13,9 +13,7 @@ License: MIT URL: https://crates.io/crates/inflate Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: DEFLATE decoding.} @@ -61,7 +59,7 @@ use the "unstable" 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