From 50d77d5423fa25ce36be166f51f37e0909ee9fe7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: May 11 2018 06:51:32 +0000 Subject: Update to 3.0.2 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 0c2d0a0..534762e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /tempfile-2.2.0.crate +/tempfile-3.0.2.crate diff --git a/rust-tempfile.spec b/rust-tempfile.spec index f0be0ec..d40787a 100644 --- a/rust-tempfile.spec +++ b/rust-tempfile.spec @@ -5,9 +5,9 @@ %global crate tempfile Name: rust-%{crate} -Version: 2.2.0 -Release: 4%{?dist} -Summary: Securely create temporary files +Version: 3.0.2 +Release: 1%{?dist} +Summary: Library for managing temporary files and directories License: MIT or ASL 2.0 URL: https://crates.io/crates/tempfile @@ -15,15 +15,15 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # Initial patched metadata # * No Windows # * No Redox -# * Bump rand to 0.4, https://github.com/Stebalien/tempfile/pull/34 -Patch0: tempfile-2.2.0-fix-metadata.diff +Patch0: tempfile-3.0.2-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc) >= 0.2.27 with crate(libc) < 0.3.0) BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) +BuildRequires: (crate(remove_dir_all) >= 0.5.0 with crate(remove_dir_all) < 0.6.0) %description %{summary}. @@ -33,7 +33,7 @@ Summary: %{summary} BuildArch: noarch %description devel -Securely create temporary files. +A library for managing temporary files and directories. This package contains library source intended for building other packages which use %{crate} from crates.io. @@ -60,6 +60,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Fri May 11 2018 Igor Gnatenko - 3.0.2-1 +- Update to 3.0.2 + * Fri Feb 09 2018 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 7f15d11..da46ee8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tempfile-2.2.0.crate) = d7f3bd17540825830233f0bc3da48377731bfd7c47a1aeff7a488c8f2caf854b0606b49066077426773f8a64abf41871edf3b55c49def164de6fae55951cc24e +SHA512 (tempfile-3.0.2.crate) = 8ece130a10d4a698884d3d29530c925944ef6d9bf8375b87abdad890cf1baa196b0c80b461b6ff436a8fb29931e181b4d0acba50e851ebbf4c0e9aa512e823c6 diff --git a/tempfile-2.2.0-fix-metadata.diff b/tempfile-2.2.0-fix-metadata.diff deleted file mode 100644 index 6a24029..0000000 --- a/tempfile-2.2.0-fix-metadata.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- tempfile-2.2.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ tempfile-2.2.0/Cargo.toml 2017-12-31T15:12:36.756166+01:00 -@@ -21,13 +21,6 @@ - license = "MIT/Apache-2.0" - repository = "https://github.com/Stebalien/tempfile" - [dependencies.rand] --version = "0.3" --[target."cfg(windows)".dependencies.winapi] --version = "0.2" -- --[target."cfg(windows)".dependencies.kernel32-sys] --version = "0.2" -+version = "0.4" - [target."cfg(unix)".dependencies.libc] - version = "0.2" --[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] --version = "0.1" diff --git a/tempfile-3.0.2-fix-metadata.diff b/tempfile-3.0.2-fix-metadata.diff new file mode 100644 index 0000000..9c3e5c2 --- /dev/null +++ b/tempfile-3.0.2-fix-metadata.diff @@ -0,0 +1,13 @@ +--- tempfile-3.0.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ tempfile-3.0.2/Cargo.toml 2018-05-11T08:50:43.092242+02:00 +@@ -25,10 +25,5 @@ + + [dependencies.remove_dir_all] + version = "0.5" +-[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] +-version = "0.1" + [target."cfg(unix)".dependencies.libc] + version = "0.2.27" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["fileapi", "winbase", "handleapi"]