diff --git a/.gitignore b/.gitignore index 956b0f6..281849e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /memmap2-0.5.9.crate /memmap2-0.5.10.crate /memmap2-0.7.1.crate +/memmap2-0.9.0.crate diff --git a/rust-memmap2.spec b/rust-memmap2.spec index 46a6ee4..858a163 100644 --- a/rust-memmap2.spec +++ b/rust-memmap2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate memmap2 Name: rust-memmap2 -Version: 0.7.1 +Version: 0.9.0 Release: %autorelease Summary: Cross-platform Rust API for memory-mapped file IO @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/memmap2 Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cross-platform Rust API for memory-mapped file IO.} @@ -61,7 +61,7 @@ use the "stable_deref_trait" 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 8a23bc8..238f7c4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memmap2-0.7.1.crate) = a264ee152bca45af4ebe22fe30330c1984a65b064dbad2bd14c66eaac5053f35cd7569cf10517d9ba98fda64e468e3a8e599cebb107a627975417283e3530e17 +SHA512 (memmap2-0.9.0.crate) = f46dcb4159fce188bb247a568ca3d86488c379bc18c8c24ce5cac5c34963f9da39af9dc9436c3d741ad364bc3b9d6d6a65b2c724aca3e6caea921127ac807e93