From 5149a75b603b41aa2a31a611af54212e40891cb8 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 4 Dec 2022 15:11:31 +0100 Subject: [PATCH] Update to version 1.3.3; Fixes RHBZ#2149773 --- rust-zeroize_derive.spec | 23 +++++++++++------------ sources | 2 +- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/rust-zeroize_derive.spec b/rust-zeroize_derive.spec index 08a322d..19a2188 100644 --- a/rust-zeroize_derive.spec +++ b/rust-zeroize_derive.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate zeroize_derive -Name: rust-%{crate} -Version: 1.3.2 +Name: rust-zeroize_derive +Version: 1.3.3 Release: %autorelease Summary: Custom derive support for zeroize -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/zeroize_derive Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Custom derive support for zeroize.} @@ -33,9 +30,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} @@ -47,7 +46,7 @@ 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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 5c46b6e..4bb2d49 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zeroize_derive-1.3.2.crate) = 3efcb9265a6bef7a752562ef9e3af1ccf28749afffdf1e21abf5baa51d5d761e10f77b9d655e69f26c587f2a0c412ddedf29776c2c66a9f69443a82d66c9da88 +SHA512 (zeroize_derive-1.3.3.crate) = cfe53287c80866868ca435414efba32267f68b6b95dca9c11201365c9fc21444b1ca926fe8a2dd64c0978a8691e351108538bc7e1fc6f60feb83dde93f56b3c3