From 0f5cf1818a4caf43da169df1ae507016ee5ba6c9 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 6 Jul 2023 02:20:38 +0200 Subject: [PATCH] Update to version 0.9.0; Fixes RHBZ#2208437 --- .gitignore | 1 + rust-memoffset.spec | 14 +++++++++++++- sources | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3688388..eaaa2ba 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /memoffset-0.6.5.crate /memoffset-0.7.1.crate /memoffset-0.8.0.crate +/memoffset-0.9.0.crate diff --git a/rust-memoffset.spec b/rust-memoffset.spec index 1e2f988..1850dc2 100644 --- a/rust-memoffset.spec +++ b/rust-memoffset.spec @@ -5,7 +5,7 @@ %global crate memoffset Name: rust-memoffset -Version: 0.8.0 +Version: 0.9.0 Release: %autorelease Summary: Offset_of functionality for Rust structs @@ -58,6 +58,18 @@ use the "unstable_const" feature of the "%{crate}" crate. %files -n %{name}+unstable_const-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+unstable_offset_of-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable_offset_of-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable_offset_of" feature of the "%{crate}" crate. + +%files -n %{name}+unstable_offset_of-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index bb879cb..75e5204 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memoffset-0.8.0.crate) = 47adcae0848ff967035e10543ea599c7af9c5bad387023eb4dc77c9e8d875994ec8139b9941b3ecc4fc17214d80944a47a3be174a45b334661914a5a7382dfbe +SHA512 (memoffset-0.9.0.crate) = 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55