diff --git a/jwalk-fix-metadata.diff b/jwalk-fix-metadata.diff new file mode 100644 index 0000000..b65743d --- /dev/null +++ b/jwalk-fix-metadata.diff @@ -0,0 +1,11 @@ +--- jwalk-0.4.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ jwalk-0.4.0/Cargo.toml 2020-02-20T19:57:11.781110+00:00 +@@ -33,7 +33,7 @@ + [dependencies.rayon] + version = "1.0.3" + [dev-dependencies.criterion] +-version = "0.2.11" ++version = "0.3" + + [dev-dependencies.fs_extra] + version = "1.1.0" diff --git a/rust-jwalk.spec b/rust-jwalk.spec index 173d336..3eb16bb 100644 --- a/rust-jwalk.spec +++ b/rust-jwalk.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.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Filesystem walk performed in parallel with streamed and sorted results # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/jwalk Source: %{crates_source} +# Initial patched metadata +# * Update criterion to 0.3, https://github.com/jessegrosjean/jwalk/commit/11fa0bc9e8541af333aafb41cc89218435474df4 +Patch0: jwalk-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +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 +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -71,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Feb 20 20:57:11 CET 2020 Igor Raits - 0.4.0-3 +- Fix FTBFS + * Thu Jan 30 2020 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild