diff --git a/.gitignore b/.gitignore index eb4bd34..8dfeeb9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /digest-0.8.0.crate /digest-0.8.1.crate +/digest-0.9.0.crate diff --git a/digest-fix-metadata.diff b/digest-fix-metadata.diff deleted file mode 100644 index 75282ce..0000000 --- a/digest-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- digest-0.8.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ digest-0.8.1/Cargo.toml 2020-02-13T21:25:26.826553+00:00 -@@ -27,7 +27,7 @@ - optional = true - - [dependencies.generic-array] --version = "0.12" -+version = "0.13" - - [features] - dev = ["blobby"] diff --git a/rust-digest.spec b/rust-digest.spec index 6ee7f10..69d93bd 100644 --- a/rust-digest.spec +++ b/rust-digest.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate digest Name: rust-%{crate} -Version: 0.8.1 -Release: 4%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: Traits for cryptographic hash functions # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/digest Source: %{crates_source} -# Initial patched metadata -# * Bump generic-array to 0.13 -Patch0: digest-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -40,6 +37,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE +%doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -54,6 +52,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages +which use "alloc" feature of "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+blobby-devel Summary: %{summary} BuildArch: noarch @@ -109,6 +119,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 21 09:18:46 CEST 2020 Igor Raits - 0.9.0-1 +- Update to 0.9.0 + * Thu Feb 20 2020 Josh Stone - 0.8.1-4 - Bump generic-array to 0.13 diff --git a/sources b/sources index 7ef4c1b..8d2d09e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (digest-0.8.1.crate) = 186c3ddc01fefff6a134ea0be633a9fe8067b8db34f31e9991069e7a9b82ed595a1105283a87e3021af2337ad332faf1b85a6bb513a4482df7d24e3e7a5ba055 +SHA512 (digest-0.9.0.crate) = 8637a322c429f51ecb0fa4c3b58fabef01368c1a093492fad65f48eeeec2366fd1b7876e6e47723e089ec5ce11f881bfe4dcebdc605811252b797db027746a45