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