Update to version 0.10.0; Fixes RHBZ#2030055

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

1
.gitignore vendored

@ -7,3 +7,4 @@
/sha-1-0.9.4.crate /sha-1-0.9.4.crate
/sha-1-0.9.7.crate /sha-1-0.9.7.crate
/sha-1-0.9.8.crate /sha-1-0.9.8.crate
/sha-1-0.10.0.crate

@ -0,0 +1,4 @@
[DEFAULT]
unwanted-features =
asm
sha1-asm

@ -1,11 +1,11 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 20
%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.8 Version: 0.10.0
Release: %autorelease Release: %autorelease
Summary: SHA-1 hash function Summary: SHA-1 hash function
@ -13,14 +13,8 @@ Summary: SHA-1 hash function
License: MIT or ASL 2.0 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
# * remove optional assembly features (only available for x86 and aarch64)
Patch0: sha-1-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -35,12 +29,12 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license LICENSE-APACHE LICENSE-MIT
%doc README.md CHANGELOG.md %doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -49,8 +43,8 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -61,8 +55,8 @@ BuildArch: noarch
%description -n %{name}+compress-devel %{_description} %description -n %{name}+compress-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "compress" feature of "%{crate}" crate. use the "compress" feature of the "%{crate}" crate.
%files -n %{name}+compress-devel %files -n %{name}+compress-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -73,8 +67,8 @@ BuildArch: noarch
%description -n %{name}+force-soft-devel %{_description} %description -n %{name}+force-soft-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "force-soft" feature of "%{crate}" crate. use the "force-soft" feature of the "%{crate}" crate.
%files -n %{name}+force-soft-devel %files -n %{name}+force-soft-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -85,8 +79,8 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

@ -1,21 +0,0 @@
--- sha-1-0.9.8/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sha-1-0.9.8/Cargo.toml 2021-09-29T15:53:47.730917+00:00
@@ -40,9 +40,6 @@
[dependencies.opaque-debug]
version = "0.3"
-[dependencies.sha1-asm]
-version = "0.5"
-optional = true
[dev-dependencies.digest]
version = "0.9"
features = ["dev"]
@@ -51,8 +48,6 @@
version = "0.2"
[features]
-asm = ["sha1-asm"]
-asm-aarch64 = ["asm"]
compress = []
default = ["std"]
force-soft = []

@ -1 +1 @@
SHA512 (sha-1-0.9.8.crate) = d4708a762d5f3dfd902ed335f0383cf63b442f95b1aebbaca3643606ed2480060d2ed04f123d0c44496147ecbb06a093980b435f9d3ff9e0f5c908389736aa9f SHA512 (sha-1-0.10.0.crate) = 5f202e74a5323ccd12bb2fa57f6357eb8d12d5702fe9fda745aaed70725a5c9c78dd6f8aa734b350948fe8155cb36d8bbfe16615f0335f0502827ad26ea387ac

Loading…
Cancel
Save