Update to version 0.9.5; Fixes RHBZ#1957381

epel9
Fabio Valentini 4 years ago
parent 7e8f99aca7
commit b2500f26ef
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -5,3 +5,4 @@
/sha2-0.9.1.crate /sha2-0.9.1.crate
/sha2-0.9.2.crate /sha2-0.9.2.crate
/sha2-0.9.3.crate /sha2-0.9.3.crate
/sha2-0.9.5.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 18
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate sha2 %global crate sha2
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.9.3 Version: 0.9.5
Release: %autorelease Release: %autorelease
Summary: Pure Rust implementation of the SHA-2 hash function family Summary: Pure Rust implementation of the SHA-2 hash function family
@ -14,7 +14,7 @@ License: MIT or ASL 2.0
URL: https://crates.io/crates/sha2 URL: https://crates.io/crates/sha2
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * remove non-default assembly features (only available for x86 and aarch64) # * remove optional assembly features (only available for x86 and aarch64)
Patch0: sha2-fix-metadata.diff Patch0: sha2-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}

@ -1,27 +1,21 @@
--- sha2-0.9.3/Cargo.toml 1970-01-01T00:00:00+00:00 --- sha2-0.9.5/Cargo.toml 1970-01-01T00:00:00+00:00
+++ sha2-0.9.3/Cargo.toml 2021-02-15T13:42:27.886545+00:00 +++ sha2-0.9.5/Cargo.toml 2021-07-27T10:39:22.487593+00:00
@@ -34,9 +34,6 @@ @@ -37,9 +37,6 @@
[dependencies.opaque-debug] [dependencies.opaque-debug]
version = "0.3" version = "0.3"
-[dependencies.sha2-asm] -[dependencies.sha2-asm]
-version = "0.5" -version = "0.6.1"
-optional = true -optional = true
[dev-dependencies.digest] [dev-dependencies.digest]
version = "0.9" version = "0.9"
features = ["dev"] features = ["dev"]
@@ -45,14 +42,9 @@ @@ -48,8 +45,6 @@
version = "0.2" version = "0.2"
[features] [features]
-asm = ["sha2-asm", "libc"] -asm = ["sha2-asm"]
-asm-aarch64 = ["asm"] -asm-aarch64 = ["asm"]
compress = [] compress = []
default = ["std"] default = ["std"]
force-soft = [] force-soft = []
std = ["digest/std"]
-[target."cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))".dependencies.libc]
-version = "0.2.84"
-optional = true
[target."cfg(any(target_arch = \"x86\", target_arch = \"x86_64\"))".dependencies.cpuid-bool]
version = "0.1"

@ -1 +1 @@
SHA512 (sha2-0.9.3.crate) = 95c6c30b73bd3ee712b29be6ebb66f6fdf5256f37a6345e9412db74bc294260d6edf2ff0c21ac768e7cf0fb100f45f23489138e8ec1d4ca6f695028ac42806a5 SHA512 (sha2-0.9.5.crate) = c4149abf96d9ba5bf18a29c45dbc0e7d44bb5eadbed26fe2915a7e3b9f253381d090d880a96e9d79eb6399bfdd9d27550961ae07a96d1cf8070ad77d09a1fe52

Loading…
Cancel
Save