Update to version 0.9.7; Fixes RHBZ#1957380

epel9
Fabio Valentini 4 years ago
parent 214628905a
commit eed3e0ff6e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -5,3 +5,4 @@
/sha-1-0.9.2.crate /sha-1-0.9.2.crate
/sha-1-0.9.3.crate /sha-1-0.9.3.crate
/sha-1-0.9.4.crate /sha-1-0.9.4.crate
/sha-1-0.9.7.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 sha-1 %global crate sha-1
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.9.4 Version: 0.9.7
Release: %autorelease Release: %autorelease
Summary: SHA-1 hash function Summary: SHA-1 hash function
@ -14,7 +14,7 @@ License: MIT or ASL 2.0
URL: https://crates.io/crates/sha-1 URL: https://crates.io/crates/sha-1
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: sha-1-fix-metadata.diff Patch0: sha-1-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -39,7 +39,7 @@ This package contains library source intended for building other packages
which use "%{crate}" crate. which use "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license LICENSE-MIT LICENSE-APACHE
%doc README.md CHANGELOG.md %doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/

@ -1,27 +1,21 @@
--- sha-1-0.9.4/Cargo.toml 1970-01-01T00:00:00+00:00 --- sha-1-0.9.7/Cargo.toml 1970-01-01T00:00:00+00:00
+++ sha-1-0.9.4/Cargo.toml 2021-02-27T18:30:21.499379+00:00 +++ sha-1-0.9.7/Cargo.toml 2021-07-27T21:27:12.997846+00:00
@@ -40,9 +40,6 @@ @@ -40,9 +40,6 @@
[dependencies.opaque-debug] [dependencies.opaque-debug]
version = "0.3" version = "0.3"
-[dependencies.sha1-asm] -[dependencies.sha1-asm]
-version = "0.4" -version = "0.5"
-optional = true -optional = true
[dev-dependencies.digest] [dev-dependencies.digest]
version = "0.9" version = "0.9"
features = ["dev"] features = ["dev"]
@@ -51,14 +48,9 @@ @@ -51,8 +48,6 @@
version = "0.2" version = "0.2"
[features] [features]
-asm = ["sha1-asm", "libc"] -asm = ["sha1-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.86"
-optional = true
[target."cfg(any(target_arch = \"x86\", target_arch = \"x86_64\"))".dependencies.cpuid-bool]
version = "0.1"

@ -1 +1 @@
SHA512 (sha-1-0.9.4.crate) = f815f6a8f046cd51b33c0d91c7fe36997490e9ebf6e0c1fdf58efec18560d3aec665b4edaa9d2b702b2aab4667ac17891c620d17d24f8e26657d825ddef24ff4 SHA512 (sha-1-0.9.7.crate) = d592f7ffa58dbc5aba3a5d6ac96aa27be01e0d54ae63ffb339bb17689f0023819044713b7cf386396fe71555a3da603a4419b36b6594629bd7e43f70d92a67f5

Loading…
Cancel
Save