From 4a2402bbee77906839d927351a8447186c982223 Mon Sep 17 00:00:00 2001 From: Olivier Lemasle Date: Sat, 4 Dec 2021 19:36:59 +0100 Subject: [PATCH] Update to upstream 0.14.0 (fixes rhbz#1976478) --- .gitignore | 1 + fs-set-times-fix-metadata.diff | 14 ++++++++------ rust-fs-set-times.spec | 12 ++++++++---- sources | 2 +- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 03e74d3..171ab11 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fs-set-times-0.3.1.crate +/fs-set-times-0.14.0.crate diff --git a/fs-set-times-fix-metadata.diff b/fs-set-times-fix-metadata.diff index 1298536..677b32a 100644 --- a/fs-set-times-fix-metadata.diff +++ b/fs-set-times-fix-metadata.diff @@ -1,11 +1,13 @@ ---- fs-set-times-0.3.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ fs-set-times-0.3.1/Cargo.toml 2021-05-29T19:36:17.987792+00:00 -@@ -26,8 +26,5 @@ - version = "0.6.0" - [target."cfg(not(windows))".dependencies.posish] - version = "0.6.1" +--- fs-set-times-0.14.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fs-set-times-0.14.0/Cargo.toml 2021-12-04T18:33:27.301436+00:00 +@@ -25,9 +25,6 @@ + version = "0.4.0" + default-features = false + [target."cfg(not(windows))".dependencies.rustix] +-version = "0.27.0" -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" -features = ["winerror"] ++version = "0.29" [badges.maintenance] status = "actively-developed" diff --git a/rust-fs-set-times.spec b/rust-fs-set-times.spec index 30dac76..2b025ed 100644 --- a/rust-fs-set-times.spec +++ b/rust-fs-set-times.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate fs-set-times Name: rust-%{crate} -Version: 0.3.1 -Release: 2%{?dist} +Version: 0.14.0 +Release: 1%{?dist} Summary: Set filesystem timestamps # Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT @@ -14,7 +14,8 @@ License: ASL 2.0 with exceptions or ASL 2.0 or MIT URL: https://crates.io/crates/fs-set-times Source: %{crates_source} # Initial patched metadata -# Remove windows-only dependency winapi +# - Remove windows-only dependency winapi +# - Bump rustix Patch0: fs-set-times-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -79,6 +80,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Dec 4 2021 Olivier Lemasle - 0.14.0-1 +- Update to upstream 0.14.0 (fixes rhbz#1976478) + * Tue Jul 27 2021 Fedora Release Engineering - 0.3.1-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index d770559..5ff0d07 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fs-set-times-0.3.1.crate) = 2dc4c72e4d2caac9f3d6fc7399a903f80e797c7880e043c31f83ebbaed555c2a05eb9531944975b3a23880bfc90c2ca07763522f92ebbb3ae82204b24bc5dfa7 +SHA512 (fs-set-times-0.14.0.crate) = 8d83aa78939082439c514b768c31ec6ed7b64b8584904d9531bbadeecd0a8aeea526ec48e8769cddd7bac6c13cf9b5d7ec8c0211635e9c2abd3837562c8170d4