Update to 0.8.1

epel9
Josh Stone 5 years ago
parent 2bff53f8eb
commit 7f4043decb

1
.gitignore vendored

@ -1 +1,2 @@
/sha2-0.8.0.crate
/sha2-0.8.1.crate

@ -1,12 +1,12 @@
# Generated by rust2rpm 10
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate sha2
Name: rust-%{crate}
Version: 0.8.0
Release: 3%{?dist}
Version: 0.8.1
Release: 1%{?dist}
Summary: SHA-2 hash functions
# Upstream license specification: MIT OR Apache-2.0
@ -15,6 +15,7 @@ URL: https://crates.io/crates/sha2
Source: %{crates_source}
# Initial patched metadata
# * Update hex-literal to 0.2, https://github.com/RustCrypto/hashes/pull/85
# * Remove unstable asm features
Patch0: sha2-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -40,7 +41,7 @@ which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%{cargo_registry}/%{crate}-%{version}/
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -52,31 +53,7 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+asm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+asm-devel %{_description}
This package contains library source intended for building other packages
which use "asm" feature of "%{crate}" crate.
%files -n %{name}+asm-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+sha2-asm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+sha2-asm-devel %{_description}
This package contains library source intended for building other packages
which use "sha2-asm" feature of "%{crate}" crate.
%files -n %{name}+sha2-asm-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@ -88,7 +65,7 @@ This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -109,6 +86,9 @@ which use "std" feature of "%{crate}" crate.
%endif
%changelog
* Tue Jan 07 2020 Josh Stone <jistone@redhat.com> - 0.8.1-1
- Update to 0.8.1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1,6 +1,21 @@
--- sha2-0.8.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ sha2-0.8.0/Cargo.toml 2019-06-21T18:05:55.064467+00:00
@@ -40,7 +40,7 @@
--- sha2-0.8.1/Cargo.toml 2020-01-06T02:55:40+00:00
+++ sha2-0.8.1/Cargo.toml 2020-01-07T18:11:28.488572+00:00
@@ -29,26 +29,17 @@
[dependencies.fake-simd]
version = "0.1"
-[dependencies.libc]
-version = "0.2"
-optional = true
-
[dependencies.opaque-debug]
version = "0.2"
-[dependencies.sha2-asm]
-version = "0.5"
-optional = true
[dev-dependencies.digest]
version = "0.8"
features = ["dev"]
[dev-dependencies.hex-literal]
@ -8,4 +23,8 @@
+version = "0.2"
[features]
asm = ["sha2-asm"]
-asm = ["sha2-asm"]
-asm-aarch64 = ["asm", "libc"]
default = ["std"]
std = ["digest/std"]
[badges.travis-ci]

@ -1 +1 @@
SHA512 (sha2-0.8.0.crate) = 6d95888b40c7f84b245864891d4a3e8c06ed3e0cde1aaeacde2ef75c969e00b524fe6045aa9b978d0036b315cc74502f88aab0da67c6708b2450efa9119abdad
SHA512 (sha2-0.8.1.crate) = b2de5cd8476b7c709fad0996c2e0c7bf577e077e7d5f70c47b780fb41c7cf8e75d156958a5519a7cac9f390d91b4c044590ecc9be0953e0632f54e7c063109ad

Loading…
Cancel
Save