diff --git a/.gitignore b/.gitignore index 5db48dd..d7821ad 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /pyo3-0.22.3.crate /pyo3-0.22.4.crate /pyo3-0.22.6.crate +/pyo3-0.23.3.crate diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff index f906cf8..71da4e7 100644 --- a/pyo3-fix-metadata.diff +++ b/pyo3-fix-metadata.diff @@ -1,28 +1,10 @@ ---- pyo3-0.22.6/Cargo.toml 1970-01-01T00:00:01+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 @@ +--- pyo3-0.23.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pyo3-0.23.3/Cargo.toml 2024-12-09T13:39:23.386725+00:00 +@@ -428,7 +428,6 @@ "serde", "smallvec", ] -generate-import-lib = ["pyo3-ffi/generate-import-lib"] - gil-refs = ["pyo3-macros/gil-refs"] macros = [ "pyo3-macros", + "indoc", diff --git a/rust-pyo3.spec b/rust-pyo3.spec index 9c401c0..89bdb03 100644 --- a/rust-pyo3.spec +++ b/rust-pyo3.spec @@ -5,7 +5,7 @@ %global crate pyo3 Name: rust-pyo3 -Version: 0.22.6 +Version: 0.23.3 Release: %autorelease Summary: Bindings to Python interpreter @@ -265,18 +265,6 @@ use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+gil-refs-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+gil-refs-devel %{_description} - -This package contains library source intended for building other packages which -use the "gil-refs" feature of the "%{crate}" crate. - -%files -n %{name}+gil-refs-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+hashbrown-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index da9b47c..adf7570 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,6 +1,5 @@ [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"] diff --git a/sources b/sources index 90cbac8..3b4dad1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-0.22.6.crate) = d746007eae22f5b7bbf173759c61cbd2aa893898d88b8be5680a0237deec4d113246edf5f62fbbec3579ad4bd7307499b94b887ec306112ffe3df5190fe70e44 +SHA512 (pyo3-0.23.3.crate) = c80377e8673de8b8e51e2423d102dbcc46605a783c13127215916d69fc600efd67ba5f9cca420cb6859124165ec97fde40eb0a0566d8b4b60708e20b8e6e9b6d