diff --git a/rust-tempfile.spec b/rust-tempfile.spec index f4a6442..9f76688 100644 --- a/rust-tempfile.spec +++ b/rust-tempfile.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 3.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for managing temporary files and directories # Upstream license specification: MIT OR Apache-2.0 @@ -14,8 +14,9 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/tempfile Source: %{crates_source} # Initial patched metadata -# * No Windows -# * No Redox +# * drop windows- and redox-specific dependencies +# * bump remove_dir_all from 0.5 to 0.7 +# https://github.com/Stebalien/tempfile/pull/149 Patch0: tempfile-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -75,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed May 19 2021 Fabio Valentini - 3.2.0-3 +- Bump remove_dir_all to 0.7. + * Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/tempfile-fix-metadata.diff b/tempfile-fix-metadata.diff index a5df7c9..cbf3639 100644 --- a/tempfile-fix-metadata.diff +++ b/tempfile-fix-metadata.diff @@ -1,11 +1,13 @@ --- tempfile-3.2.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ tempfile-3.2.0/Cargo.toml 2021-01-12T08:28:16.827569+00:00 -@@ -30,10 +30,5 @@ ++++ tempfile-3.2.0/Cargo.toml 2021-05-19T13:25:52.185573+00:00 +@@ -29,11 +29,6 @@ + version = "0.8" [dependencies.remove_dir_all] - version = "0.5" +-version = "0.5" -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] -version = "0.2" ++version = "0.7" [target."cfg(unix)".dependencies.libc] version = "0.2.27" -[target."cfg(windows)".dependencies.winapi]