Update to version 0.10.2; Fixes RHBZ#2030056

epel9
Fabio Valentini 3 years ago
parent f12f40c682
commit ce626621de
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

2
.gitignore vendored

@ -7,3 +7,5 @@
/sha2-0.9.3.crate
/sha2-0.9.5.crate
/sha2-0.9.8.crate
/sha2-0.10.1.crate
/sha2-0.10.2.crate

@ -0,0 +1,5 @@
[DEFAULT]
unwanted-features =
asm
asm-aarch64
sha2-asm

@ -1,11 +1,11 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate sha2
Name: rust-%{crate}
Version: 0.9.8
Version: 0.10.2
Release: %autorelease
Summary: Pure Rust implementation of the SHA-2 hash function family
@ -13,14 +13,8 @@ Summary: Pure Rust implementation of the SHA-2 hash function family
License: MIT or ASL 2.0
URL: https://crates.io/crates/sha2
Source: %{crates_source}
# Initial patched metadata
# * remove optional assembly features (only available for x86 and aarch64)
Patch0: sha2-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
@ -36,12 +30,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
@ -50,8 +44,8 @@ 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
@ -62,8 +56,8 @@ BuildArch: noarch
%description -n %{name}+compress-devel %{_description}
This package contains library source intended for building other packages
which use "compress" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "compress" feature of the "%{crate}" crate.
%files -n %{name}+compress-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -74,8 +68,8 @@ BuildArch: noarch
%description -n %{name}+force-soft-devel %{_description}
This package contains library source intended for building other packages
which use "force-soft" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "force-soft" feature of the "%{crate}" crate.
%files -n %{name}+force-soft-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -86,8 +80,8 @@ 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

@ -1,21 +0,0 @@
--- sha2-0.9.8/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sha2-0.9.8/Cargo.toml 2021-09-29T15:54:59.898165+00:00
@@ -36,9 +36,6 @@
[dependencies.opaque-debug]
version = "0.3"
-[dependencies.sha2-asm]
-version = "0.6.1"
-optional = true
[dev-dependencies.digest]
version = "0.9"
features = ["dev"]
@@ -47,8 +44,6 @@
version = "0.2"
[features]
-asm = ["sha2-asm"]
-asm-aarch64 = ["asm"]
compress = []
default = ["std"]
force-soft = []

@ -1 +1 @@
SHA512 (sha2-0.9.8.crate) = 4bd858f67a3ee5a22769aaf4161d823884e112f99911d5461cafe746a19fafd2d8946eb3aa234953efa06a4dcf7becda70db6721c0d4a9b6f1fb670f31f6343d
SHA512 (sha2-0.10.2.crate) = 20b8217ce9b56fb5f2c1d71d3555889bcfcf5e40fb7fe0eec23479d384dfcd504f1046d6a12dcbb5072813792992b45261e664e9e8e14eb90a641e94336eb4d2

Loading…
Cancel
Save