From b0ebf3515caff94b5b3662ffd9d7ecd555fd9d04 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Dec 2021 14:15:38 +0100 Subject: [PATCH 1/3] Update to version 0.6.5; Fixes RHBZ#2028909 --- .gitignore | 1 + rust-memoffset.spec | 13 +++++-------- sources | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index d6bbf98..1e0a1d4 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /memoffset-0.6.1.crate /memoffset-0.6.3.crate /memoffset-0.6.4.crate +/memoffset-0.6.5.crate diff --git a/rust-memoffset.spec b/rust-memoffset.spec index 5d672dd..455b934 100644 --- a/rust-memoffset.spec +++ b/rust-memoffset.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate memoffset Name: rust-%{crate} -Version: 0.6.4 +Version: 0.6.5 Release: %autorelease Summary: Offset_of functionality for Rust structs @@ -15,9 +15,6 @@ URL: https://crates.io/crates/memoffset Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,7 +30,7 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel %license LICENSE @@ -47,7 +44,7 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -59,7 +56,7 @@ BuildArch: noarch %description -n %{name}+unstable_const-devel %{_description} This package contains library source intended for building other packages which -use "the unstable_const" feature of the "%{crate}" crate. +use the "unstable_const" feature of the "%{crate}" crate. %files -n %{name}+unstable_const-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 4348aff..f65a111 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memoffset-0.6.4.crate) = bf8d05b72571ccdef32a93cc4489ab4cb7abd41415d55572d1dfb983053afe3eb2615e968d87a326af90c5702b9959150f985a4186acfd61df9b69a74e99713d +SHA512 (memoffset-0.6.5.crate) = 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f