From 7edf9b1ef93004cc1c091c92e2f316696789d7d4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 3 Jun 2023 21:09:05 +0200 Subject: [PATCH] Update to version 0.5.0; Fixes RHBZ#2062470 --- .gitignore | 1 + rust-password-hash.spec | 16 ++++++++++++++-- sources | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 644669c..765ed71 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /password-hash-0.3.2.crate /password-hash-0.4.2.crate +/password-hash-0.5.0.crate diff --git a/rust-password-hash.spec b/rust-password-hash.spec index 71561a3..169331e 100644 --- a/rust-password-hash.spec +++ b/rust-password-hash.spec @@ -5,9 +5,9 @@ %global crate password-hash Name: rust-password-hash -Version: 0.4.2 +Version: 0.5.0 Release: %autorelease -Summary: Traits which describe the functionality of password hashing algorithms, as well as a no_std-friendly implementation of the PHC string format +Summary: Traits which describe the functionality of password hashing algorithms License: MIT OR Apache-2.0 URL: https://crates.io/crates/password-hash @@ -62,6 +62,18 @@ use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+getrandom-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+getrandom-devel %{_description} + +This package contains library source intended for building other packages which +use the "getrandom" feature of the "%{crate}" crate. + +%files -n %{name}+getrandom-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+rand_core-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 64bbc86..211adc2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (password-hash-0.4.2.crate) = f6b7da81fa172ed37229894c426965182be1a445ccaba4351b91ce43ff1ab8cacd205b321721df49dd43ba17dc6a77e9b7cccc3a0c396572aa7ad642af44926d +SHA512 (password-hash-0.5.0.crate) = 4393d9b2ba9158e8dc5192f2f88ff8a26e02b2b18268aa28b7456c7622c06a005fc2230883b89c1dbc1cebc06570d4f569801ab6275cbd14ec4a073c2c63763e