From 4e1b68409ec2208be973ea12e0bc6038a151ec93 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 14 Apr 2022 00:37:16 +0200 Subject: [PATCH] Update to version 0.15.0 --- .gitignore | 1 + fs-set-times-fix-metadata.diff | 6 +++--- rust-fs-set-times.spec | 20 +++++++++++++------- sources | 2 +- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 30af372..0d68e52 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fs-set-times-0.3.1.crate /fs-set-times-0.14.0.crate /fs-set-times-0.14.1.crate +/fs-set-times-0.15.0.crate diff --git a/fs-set-times-fix-metadata.diff b/fs-set-times-fix-metadata.diff index 38af50c..b22620b 100644 --- a/fs-set-times-fix-metadata.diff +++ b/fs-set-times-fix-metadata.diff @@ -1,9 +1,9 @@ ---- fs-set-times-0.14.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ fs-set-times-0.14.1/Cargo.toml 2022-02-03T18:39:27.910002+00:00 +--- fs-set-times-0.15.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fs-set-times-0.15.0/Cargo.toml 2022-04-13T22:35:23.127723+00:00 @@ -26,8 +26,5 @@ default-features = false [target."cfg(not(windows))".dependencies.rustix] - version = "0.31.0" + version = "0.33.0" -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" -features = ["winerror"] diff --git a/rust-fs-set-times.spec b/rust-fs-set-times.spec index 940d0d0..2dbda91 100644 --- a/rust-fs-set-times.spec +++ b/rust-fs-set-times.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate fs-set-times Name: rust-%{crate} -Version: 0.14.1 +Version: 0.15.0 Release: %autorelease Summary: Set filesystem timestamps @@ -19,7 +19,7 @@ Patch0: fs-set-times-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Set filesystem timestamps.} @@ -36,9 +36,15 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license COPYRIGHT LICENSE-APACHE LICENSE-Apache-2.0_WITH_LLVM-exception LICENSE-MIT -%doc CODE_OF_CONDUCT.md ORG_CODE_OF_CONDUCT.md README.md SECURITY.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYRIGHT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-Apache-2.0_WITH_LLVM-exception +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/ORG_CODE_OF_CONDUCT.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/SECURITY.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +56,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 4569e30..bb6e9f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fs-set-times-0.14.1.crate) = b0ea07a1501a40392c36518f980eadd8560f2698b02a5da6b695aaba5dd4173abc6906b1925fa80a5b78b5147f1b4281e0a68ea1bd5642c15f8571914454f2d3 +SHA512 (fs-set-times-0.15.0.crate) = 27018526e807f6e265e833465ea390295cbfa7083a0b49ff03668f503c3f249e9bfa4adf86d1722e83e898192f4aded65b5881be6d13ad20d84354c87a4d1f30