From badfa074e24a8b558ed075551198ba3f0c6731d3 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 3 Dec 2018 11:38:39 -0800 Subject: [PATCH] Update to 3.0.5 --- .gitignore | 1 + rust-tempfile.spec | 10 ++++++---- sources | 2 +- tempfile-fix-metadata.diff | 14 +++----------- 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 6b5ac88..e52756f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /tempfile-3.0.2.crate /tempfile-3.0.3.crate /tempfile-3.0.4.crate +/tempfile-3.0.5.crate diff --git a/rust-tempfile.spec b/rust-tempfile.spec index 15ad2fb..480a67d 100644 --- a/rust-tempfile.spec +++ b/rust-tempfile.spec @@ -5,8 +5,8 @@ %global crate tempfile Name: rust-%{crate} -Version: 3.0.4 -Release: 2%{?dist} +Version: 3.0.5 +Release: 1%{?dist} Summary: Library for managing temporary files and directories # Upstream license specification: MIT/Apache-2.0 @@ -16,7 +16,6 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # Initial patched metadata # * No Windows # * No Redox -# * Exclude CI files, https://github.com/Stebalien/tempfile/pull/72 Patch0: tempfile-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -24,7 +23,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(libc/default) >= 0.2.27 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(rand/default) >= 0.5.0 with crate(rand/default) < 0.6.0) +BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) BuildRequires: (crate(remove_dir_all/default) >= 0.5.0 with crate(remove_dir_all/default) < 0.6.0) %global _description \ @@ -74,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Dec 03 2018 Josh Stone - 3.0.5-1 +- Update to 3.0.5 + * Sat Oct 27 2018 Igor Gnatenko - 3.0.4-2 - Adapt to new packaging diff --git a/sources b/sources index 4a7be21..d904862 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tempfile-3.0.4.crate) = 54890e6632f7fe81914b013fb63951eb651f7c833c6857db7dc701ca719108131acf97dfd5af4c821d32902618bd9e256ec4dd39edaa42f57f9f459a246b2770 +SHA512 (tempfile-3.0.5.crate) = f1055454383996de7a79a08f31c85b0d957f277e297a70d85b2faeb6a85e4c12348ca8ba7cae44ec1398d6d02b2d725dbd4eda68a064db66594024b407c6e306 diff --git a/tempfile-fix-metadata.diff b/tempfile-fix-metadata.diff index 761848e..009b2c3 100644 --- a/tempfile-fix-metadata.diff +++ b/tempfile-fix-metadata.diff @@ -1,14 +1,6 @@ ---- tempfile-3.0.4/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ tempfile-3.0.4/Cargo.toml 2018-10-27T02:22:15.427394+02:00 -@@ -20,6 +20,7 @@ - keywords = ["tempfile", "tmpfile", "filesystem"] - license = "MIT/Apache-2.0" - repository = "https://github.com/Stebalien/tempfile" -+exclude = ["/.travis.yml", "/appveyor.yml"] - [dependencies.cfg-if] - version = "0.1" - -@@ -28,10 +29,5 @@ +--- tempfile-3.0.5/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ tempfile-3.0.5/Cargo.toml 2018-12-03T11:34:46.771871-08:00 +@@ -29,10 +29,5 @@ [dependencies.remove_dir_all] version = "0.5"