From 6970bf4b909ecfec485799fdbe74ea4b3208eaec Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 27 Jan 2022 01:00:15 +0100 Subject: [PATCH] Update to version 1.5.0; Fixes RHBZ#2040879 --- rust-zeroize.spec | 37 +++++++++++++++++++++++-------------- sources | 2 +- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/rust-zeroize.spec b/rust-zeroize.spec index e088fdb..dcdbd98 100644 --- a/rust-zeroize.spec +++ b/rust-zeroize.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate zeroize Name: rust-%{crate} -Version: 1.4.3 +Version: 1.5.0 Release: %autorelease Summary: Securely clear secrets from memory @@ -15,9 +15,6 @@ URL: https://crates.io/crates/zeroize Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -35,12 +32,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -49,8 +46,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -61,20 +58,32 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} -This package contains library source intended for building other packages -which use "alloc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+derive-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+derive-devel %{_description} + +This package contains library source intended for building other packages which +use the "derive" feature of the "%{crate}" crate. + +%files -n %{name}+derive-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+zeroize_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zeroize_derive-devel %{_description} -This package contains library source intended for building other packages -which use "zeroize_derive" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "zeroize_derive" feature of the "%{crate}" crate. %files -n %{name}+zeroize_derive-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index c1b6524..42df108 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zeroize-1.4.3.crate) = c4f3f10790176925fb90ee6325a50c710ff220bb9d37d424e28e8d8de5f801f2ef5fd687f0b720c471ac9e99e02e26011afcc4ecdd10a8229f70bc71a3815002 +SHA512 (zeroize-1.5.0.crate) = 6b6d1c5f85111f0f83ee02c633effb0bad87bb8b334d3f4e13d8722cf9c4ff252fc15c73de044c33d11ff62cbf3d2b6d33834cf08830e5b9ce9c8c298442a05c