From dc70de3c261419ce5a1d1042913b9ccc3fe533b0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 18 Feb 2022 17:53:44 +0100 Subject: [PATCH] Update to version 0.12.1; Fixes RHBZ#2030059 --- .gitignore | 1 + rust-hmac.spec | 35 ++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 48800dd..511d79c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /hmac-0.8.1.crate /hmac-0.10.1.crate /hmac-0.11.0.crate +/hmac-0.12.1.crate diff --git a/rust-hmac.spec b/rust-hmac.spec index 38af18c..0d44d44 100644 --- a/rust-hmac.spec +++ b/rust-hmac.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate hmac Name: rust-%{crate} -Version: 0.11.0 +Version: 0.12.1 Release: %autorelease Summary: Generic implementation of Hash-based Message Authentication Code (HMAC) @@ -15,9 +15,6 @@ URL: https://crates.io/crates/hmac Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,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-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,20 +43,32 @@ 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 +%package -n %{name}+reset-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+reset-devel %{_description} + +This package contains library source intended for building other packages which +use the "reset" feature of the "%{crate}" crate. + +%files -n %{name}+reset-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 diff --git a/sources b/sources index 75af6fe..d9beda8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hmac-0.11.0.crate) = 82d83071d1cea14603b1f1a85d564c78e28d982025a029779d8d83522fd5c56583303dd3a902d8023b5e9df2ddb5c5d9a5fc88000d41dba45dc026239ec81d0d +SHA512 (hmac-0.12.1.crate) = 77d4bf51f4633a8c36712ce3178945141df31cd645eafcf4bd130b8ecd7cb498bf1ee6f2d9c8dfbbc9f97ac638919fcc81bd3ee600a1b27c3be3fa87313aa0b8