diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff index 85df163..f906cf8 100644 --- a/pyo3-fix-metadata.diff +++ b/pyo3-fix-metadata.diff @@ -1,5 +1,23 @@ --- pyo3-0.22.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pyo3-0.22.6/Cargo.toml 2024-11-09T20:58:49.612339+00:00 ++++ pyo3-0.22.6/Cargo.toml 2024-12-08T20:06:12.165353+00:00 +@@ -248,7 +248,7 @@ + default-features = false + + [dependencies.chrono-tz] +-version = ">= 0.6, < 0.10" ++version = ">= 0.6, < 0.11" + optional = true + default-features = false + +@@ -328,7 +328,7 @@ + version = "0.4.25" + + [dev-dependencies.chrono-tz] +-version = ">= 0.6, < 0.10" ++version = ">= 0.6, < 0.11" + + [dev-dependencies.futures] + version = "0.3.28" @@ -423,7 +423,6 @@ "serde", "smallvec", diff --git a/rust-pyo3.spec b/rust-pyo3.spec index c8cc428..9c401c0 100644 --- a/rust-pyo3.spec +++ b/rust-pyo3.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate pyo3 @@ -13,6 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/pyo3 Source: %{crates_source} # Manually created patch for downstream crate metadata changes +# * relax chrono-tz dependency to allow building with 0.6..=0.10 # * drop MSVC- and MinGW-only features Patch: pyo3-fix-metadata.diff # * make unsafe subinterpreter support available via cfg flag: diff --git a/rust2rpm.toml b/rust2rpm.toml index adf7570..da9b47c 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,5 +1,6 @@ [package] cargo-toml-patch-comments = [ + "relax chrono-tz dependency to allow building with 0.6..=0.10", "drop MSVC- and MinGW-only features", ] doc-files.exclude = [".towncrier.template.md"]