diff --git a/digest-fix-metadata.diff b/digest-fix-metadata.diff new file mode 100644 index 0000000..75282ce --- /dev/null +++ b/digest-fix-metadata.diff @@ -0,0 +1,11 @@ +--- 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 e09d77b..6ee7f10 100644 --- a/rust-digest.spec +++ b/rust-digest.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.8.1 -Release: 3%{?dist} +Release: 4%{?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} @@ -37,7 +40,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} @@ -49,7 +52,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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+blobby-devel Summary: %{summary} @@ -61,7 +64,7 @@ This package contains library source intended for building other packages which use "blobby" feature of "%{crate}" crate. %files -n %{name}+blobby-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+dev-devel Summary: %{summary} @@ -73,7 +76,7 @@ This package contains library source intended for building other packages which use "dev" feature of "%{crate}" crate. %files -n %{name}+dev-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -85,7 +88,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 @@ -106,6 +109,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Thu Feb 20 2020 Josh Stone - 0.8.1-4 +- Bump generic-array to 0.13 + * Thu Jan 30 2020 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild