From c4bb4770c9757e72794e83da0936049431d8eeb2 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 15 Apr 2024 18:59:40 +0200 Subject: [PATCH] Update to version 0.4.38; Fixes RHBZ#2271640 --- .gitignore | 1 + chrono-fix-metadata-auto.diff | 10 +++++----- chrono-fix-metadata.diff | 10 +++++----- rust-chrono.spec | 15 +-------------- sources | 2 +- 5 files changed, 13 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index f79e965..6c88587 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /chrono-0.4.33.crate /chrono-0.4.34.crate /chrono-0.4.35.crate +/chrono-0.4.38.crate diff --git a/chrono-fix-metadata-auto.diff b/chrono-fix-metadata-auto.diff index fedf72f..59f6084 100644 --- a/chrono-fix-metadata-auto.diff +++ b/chrono-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- chrono-0.4.35/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ chrono-0.4.35/Cargo.toml 2024-03-08T09:22:37.772328+00:00 -@@ -89,7 +89,6 @@ +--- chrono-0.4.38/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ chrono-0.4.38/Cargo.toml 2024-04-15T16:54:13.063068+00:00 +@@ -90,7 +90,6 @@ clock = [ "winapi", "iana-time-zone", @@ -8,7 +8,7 @@ "now", ] default = [ -@@ -121,34 +120,11 @@ +@@ -122,34 +121,11 @@ std = ["alloc"] unstable-locales = ["pure-rust-locales"] wasmbind = [ @@ -43,4 +43,4 @@ -optional = true - -[target."cfg(windows)".dev-dependencies.windows-bindgen] --version = "0.54" +-version = "0.56" diff --git a/chrono-fix-metadata.diff b/chrono-fix-metadata.diff index 1bc2d3b..8b10c64 100644 --- a/chrono-fix-metadata.diff +++ b/chrono-fix-metadata.diff @@ -1,6 +1,6 @@ ---- chrono-0.4.35/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ chrono-0.4.35/Cargo.toml 2024-03-08T09:23:09.282432+00:00 -@@ -84,10 +84,8 @@ +--- chrono-0.4.38/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ chrono-0.4.38/Cargo.toml 2024-04-15T16:55:22.385459+00:00 +@@ -85,10 +85,8 @@ version = "1" [features] @@ -11,7 +11,7 @@ "iana-time-zone", "now", ] -@@ -95,7 +93,6 @@ +@@ -96,7 +94,6 @@ "clock", "std", "oldtime", @@ -19,7 +19,7 @@ ] libc = [] now = ["std"] -@@ -119,9 +116,6 @@ +@@ -120,9 +117,6 @@ rkyv-validation = ["rkyv?/validation"] std = ["alloc"] unstable-locales = ["pure-rust-locales"] diff --git a/rust-chrono.spec b/rust-chrono.spec index 1607067..301d920 100644 --- a/rust-chrono.spec +++ b/rust-chrono.spec @@ -5,7 +5,7 @@ %global crate chrono Name: rust-chrono -Version: 0.4.35 +Version: 0.4.38 Release: %autorelease Summary: Date and time library for Rust @@ -36,7 +36,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE.txt -%doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -208,18 +207,6 @@ use the "rkyv-validation" feature of the "%{crate}" crate. %files -n %{name}+rkyv-validation-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+rustc-serialize-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rustc-serialize-devel %{_description} - -This package contains library source intended for building other packages which -use the "rustc-serialize" feature of the "%{crate}" crate. - -%files -n %{name}+rustc-serialize-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 20bdec7..0b47cea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chrono-0.4.35.crate) = aed8bc3298c8f8dd8146c6a919610b6dda52c038a28b56c837a21590e41fda605cd466dc1b85e407f365e116d741cb82afbeff5d29f95f3f5bce4a62abf80812 +SHA512 (chrono-0.4.38.crate) = 858e47e3facebd5383e71898f26b27d92fe4a69027e2cc47da2af59975ead7767355e0b699f4228eabe76a3eff8b2519c7cecf8b60dc3fc60fbf9b28e2f3d4d9