Relax chrono-tz dependency to allow building with 0.9 and 0.10

epel10 imports/epel10/rust-jiff-0.1.15-2.el10
Fabio Valentini 2 months ago
parent 51bfcf3318
commit 7d0dc7330b
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
--- jiff-0.1.15/Cargo.toml 1970-01-01T00:00:01+00:00
+++ jiff-0.1.15/Cargo.toml 2024-11-30T23:16:22.594085+00:00
+++ jiff-0.1.15/Cargo.toml 2024-12-08T19:53:18.958265+00:00
@@ -131,46 +131,22 @@
"tzdb-zoneinfo",
]

@ -1,5 +1,14 @@
--- jiff-0.1.15/Cargo.toml 1970-01-01T00:00:01+00:00
+++ jiff-0.1.15/Cargo.toml 2024-11-30T23:16:38.372314+00:00
+++ jiff-0.1.15/Cargo.toml 2024-12-08T19:53:29.866324+00:00
@@ -85,7 +85,7 @@
features = ["serde"]
[dev-dependencies.chrono-tz]
-version = "0.9.0"
+version = ">=0.9,<0.11"
[dev-dependencies.icu]
version = "1.5.0"
@@ -147,6 +147,3 @@
]
tzdb-zoneinfo = ["std"]

@ -16,6 +16,7 @@ Source: %{crates_source}
Patch: jiff-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * Drop dev-dependency hifitime: not packaged, and only for doctests
# * Relax chrono-tz dependency to allow building with 0.9 and 0.10
Patch: jiff-fix-metadata.diff
# * Downstream-only: Omit doctests that require hifitime. It is not worth
# packaging it solely for a couple of tiny examples.

@ -19,6 +19,7 @@ cargo-toml-patch-comments = [
# an unconditional dependency, but given it is
# target.'cfg(not(target_family = "wasm"))', manual patching is easier.
"Drop dev-dependency hifitime: not packaged, and only for doctests",
"Relax chrono-tz dependency to allow building with 0.9 and 0.10",
]
[[package.extra-patches]]

Loading…
Cancel
Save