From 5becce2788e5bc0926329f450f10b2730351c784 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 17 Mar 2022 20:02:45 +0000 Subject: [PATCH] Update to 0.10.1 --- rust-sha3.spec | 20 +++++++++++--------- sources | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/rust-sha3.spec b/rust-sha3.spec index 97b9090..a09c013 100644 --- a/rust-sha3.spec +++ b/rust-sha3.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate sha3 Name: rust-%{crate} -Version: 0.10.0 -Release: %autorelease +Version: 0.10.1 +Release: 1%{?dist} Summary: SHA-3 (Keccak) hash function # Upstream license specification: MIT OR Apache-2.0 @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: SHA-3 (Keccak) hash function.} @@ -33,9 +33,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 +49,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 %package -n %{name}+std-devel Summary: %{summary} @@ -59,7 +61,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 4537063..1ca805d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha3-0.10.0.crate) = 1ee0d670e9d2d4e080b36e1190089458ce493fc65b214b61a23b0b102b0c121e810cba84ca0eec64396f2006cf9e1a7075a0c00ab3c9e862d592ed659ec608a8 +SHA512 (sha3-0.10.1.crate) = 1aafd9075a96a2fc5855dc70d48516b4beb15fe15c16c75d32c8dbeb09a3c931700a3cc650045524d7434ba5b7c28a36c659b71fc1abc581c3cd31486cb1f66b