Update to 0.8.2

epel9
Josh Stone 5 years ago
parent c6cf037ccb
commit ef5ed38c93

1
.gitignore vendored

@ -1 +1,2 @@
/sha-1-0.8.1.crate /sha-1-0.8.1.crate
/sha-1-0.8.2.crate

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

@ -1,6 +1,21 @@
--- sha-1-0.8.1/Cargo.toml 1970-01-01T00:00:00+00:00 --- sha-1-0.8.2/Cargo.toml 2020-01-06T02:54:55+00:00
+++ sha-1-0.8.1/Cargo.toml 2019-06-23T08:30:56.452978+00:00 +++ sha-1-0.8.2/Cargo.toml 2020-01-07T18:04:23.871480+00:00
@@ -43,7 +43,7 @@ @@ -32,26 +32,17 @@
[dependencies.fake-simd]
version = "0.1"
-[dependencies.libc]
-version = "0.2"
-optional = true
-
[dependencies.opaque-debug]
version = "0.2"
-[dependencies.sha1-asm]
-version = "0.4"
-optional = true
[dev-dependencies.digest]
version = "0.8"
features = ["dev"] features = ["dev"]
[dev-dependencies.hex-literal] [dev-dependencies.hex-literal]
@ -8,4 +23,8 @@
+version = "0.2" +version = "0.2"
[features] [features]
asm = ["sha1-asm"] -asm = ["sha1-asm"]
-asm-aarch64 = ["asm", "libc"]
default = ["std"]
std = ["digest/std"]
[badges.travis-ci]

@ -1 +1 @@
SHA512 (sha-1-0.8.1.crate) = 7446e7564b5903e588911008f9367f9d9b0d96ae883d299ee4f10ec3d7a30abf1af1bc9c4f2172226f09071413116c12a8a67419246f7a7de95e9fdeec3aacb1 SHA512 (sha-1-0.8.2.crate) = 65ddb7bd8f0157d134e70f7c6d6abf7aea198cb97da17b418a265642c5930b8cbd9c8e0b97b557102787cc842cddc93213d669345c2aaac6a1e7146765b2d5cd

Loading…
Cancel
Save