From 88691219a9440c89f9ade5a4bc75632925532b22 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 17 Apr 2024 00:13:56 +0200 Subject: [PATCH] Update to version 0.9.1; Fixes RHBZ#2271672 --- .gitignore | 1 + rust-memoffset.spec | 9 +++++---- sources | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index eaaa2ba..ff34a70 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /memoffset-0.7.1.crate /memoffset-0.8.0.crate /memoffset-0.9.0.crate +/memoffset-0.9.1.crate diff --git a/rust-memoffset.spec b/rust-memoffset.spec index 1850dc2..db0d962 100644 --- a/rust-memoffset.spec +++ b/rust-memoffset.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate memoffset Name: rust-memoffset -Version: 0.9.0 +Version: 0.9.1 Release: %autorelease Summary: Offset_of functionality for Rust structs @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/memoffset Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Offset_of functionality for Rust structs.} @@ -31,6 +31,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -71,7 +72,7 @@ use the "unstable_offset_of" 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 75e5204..4080045 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memoffset-0.9.0.crate) = 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 +SHA512 (memoffset-0.9.1.crate) = 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa