From 5f1c18e2723749e85d7b5ef4509990072c695114 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 14:22:23 +0200 Subject: [PATCH] Update to version 1.5.4; Fixes RHBZ#2064970 --- rust-zeroize.spec | 34 ++++++++++++++++++++++++---------- sources | 2 +- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/rust-zeroize.spec b/rust-zeroize.spec index 449f06f..ac6f86f 100644 --- a/rust-zeroize.spec +++ b/rust-zeroize.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate zeroize Name: rust-%{crate} -Version: 1.5.3 +Version: 1.5.4 Release: %autorelease Summary: Securely clear secrets from memory @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Securely clear secrets from memory with a simple trait built on stable Rust @@ -36,9 +36,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +52,19 @@ 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 +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+aarch64-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aarch64-devel %{_description} + +This package contains library source intended for building other packages which +use the "aarch64" feature of the "%{crate}" crate. + +%files -n %{name}+aarch64-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -62,7 +76,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+derive-devel Summary: %{summary} @@ -74,7 +88,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize_derive-devel Summary: %{summary} @@ -86,7 +100,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index ee08f40..813601d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zeroize-1.5.3.crate) = 14cdb8893ccfb1c6f762b0bf16855119a489822b820dcdeeec6ddc6578013bf2447f7ce3fa8de24209aeb58ca543e30c9189bdf037f49512979bb7c59bd6d90f +SHA512 (zeroize-1.5.4.crate) = c581d3ab3e7a1d5803c0d1e0d054aec1f47fa0387625fe9367dce7875c2f015d921f70cadc33ac596c96b87461ddf9fd35c5213b61b705aecaf213635a551445