From cdfea05af58f8fcf76d96658abd920ca32dd4345 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 23 Nov 2023 14:43:52 +0100 Subject: [PATCH] Update to version 0.20.0 --- .gitignore | 1 + README.md | 3 --- changelog | 12 ++++++++++++ fs-set-times-fix-metadata-auto.diff | 12 ++++++++++++ fs-set-times-fix-metadata.diff | 11 ----------- rust-fs-set-times.spec | 20 ++++++++------------ sources | 2 +- 7 files changed, 34 insertions(+), 27 deletions(-) delete mode 100644 README.md create mode 100644 fs-set-times-fix-metadata-auto.diff delete mode 100644 fs-set-times-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 0d68e52..de2ef8a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /fs-set-times-0.14.0.crate /fs-set-times-0.14.1.crate /fs-set-times-0.15.0.crate +/fs-set-times-0.20.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index f464679..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-fs-set-times - -The rust-fs-set-times package diff --git a/changelog b/changelog index 5247ecb..d3a48e6 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,15 @@ +* Thu Nov 23 2023 Fabio Valentini 0.20.0-1 +- Update to version 0.20.0 + +* Sat Jul 23 2022 Fedora Release Engineering 0.15.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Apr 13 2022 Fabio Valentini 0.15.0-1 +- Update to version 0.15.0 + +* Fri Feb 04 2022 Fabio Valentini 0.14.1-1 +- Update to version 0.14.1 + * Fri Jan 21 2022 Fedora Release Engineering - 0.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/fs-set-times-fix-metadata-auto.diff b/fs-set-times-fix-metadata-auto.diff new file mode 100644 index 0000000..e5d706b --- /dev/null +++ b/fs-set-times-fix-metadata-auto.diff @@ -0,0 +1,12 @@ +--- fs-set-times-0.20.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fs-set-times-0.20.0/Cargo.toml 2023-11-05T00:03:34.202139+00:00 +@@ -37,9 +37,3 @@ + "time", + ] + +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.48.0" +-features = [ +- "Win32_Foundation", +- "Win32_Storage_FileSystem", +-] diff --git a/fs-set-times-fix-metadata.diff b/fs-set-times-fix-metadata.diff deleted file mode 100644 index b22620b..0000000 --- a/fs-set-times-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- 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.33.0" --[target."cfg(windows)".dependencies.winapi] --version = "0.3.9" --features = ["winerror"] - [badges.maintenance] - status = "actively-developed" diff --git a/rust-fs-set-times.spec b/rust-fs-set-times.spec index 2dbda91..0c38b26 100644 --- a/rust-fs-set-times.spec +++ b/rust-fs-set-times.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate fs-set-times -Name: rust-%{crate} -Version: 0.15.0 +Name: rust-fs-set-times +Version: 0.20.0 Release: %autorelease Summary: Set filesystem timestamps -# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT URL: https://crates.io/crates/fs-set-times Source: %{crates_source} -# Initial patched metadata -# * drop windows-specific dependencies -Patch0: fs-set-times-fix-metadata.diff +# Automatically generated patch to strip dependencies and normalize metadata +Patch: fs-set-times-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Set filesystem timestamps.} @@ -59,7 +55,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index bb6e9f3..522e7c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fs-set-times-0.15.0.crate) = 27018526e807f6e265e833465ea390295cbfa7083a0b49ff03668f503c3f249e9bfa4adf86d1722e83e898192f4aded65b5881be6d13ad20d84354c87a4d1f30 +SHA512 (fs-set-times-0.20.0.crate) = e51001c743ab03c02a95e14ff4c0dc9834ba97b41c491ca54d709e0d5aee119ffbad0755a6c2e810fad842eed0bcab2519d117745152176be78feedd047631c7