diff --git a/.gitignore b/.gitignore index 20914a4..7d2f211 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /pyo3-ffi-0.16.6.crate /pyo3-ffi-0.17.3.crate +/pyo3-ffi-0.18.1.crate diff --git a/pyo3-ffi-fix-metadata.diff b/pyo3-ffi-fix-metadata.diff index 643f5cb..09d7613 100644 --- a/pyo3-ffi-fix-metadata.diff +++ b/pyo3-ffi-fix-metadata.diff @@ -1,8 +1,7 @@ ---- pyo3-ffi-0.17.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pyo3-ffi-0.17.3/Cargo.toml 2023-01-26T16:10:31.053825+00:00 -@@ -58,5 +58,3 @@ +--- pyo3-ffi-0.18.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pyo3-ffi-0.18.1/Cargo.toml 2023-03-03T19:33:12.620878+00:00 +@@ -62,4 +62,3 @@ ] default = [] extension-module = ["pyo3-build-config/extension-module"] --generate-abi3-import-lib = ["generate-import-lib"] -generate-import-lib = ["pyo3-build-config/python3-dll-a"] diff --git a/rust-pyo3-ffi.spec b/rust-pyo3-ffi.spec index 14b0bab..757d06c 100644 --- a/rust-pyo3-ffi.spec +++ b/rust-pyo3-ffi.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate pyo3-ffi Name: rust-pyo3-ffi -Version: 0.17.3 +Version: 0.18.1 Release: %autorelease Summary: Python-API bindings for the PyO3 ecosystem @@ -75,6 +75,19 @@ use the "abi3-py310" feature of the "%{crate}" crate. %files -n %{name}+abi3-py310-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+abi3-py311-devel +Summary: %{summary} +BuildArch: noarch +Requires: python3-devel >= 3.11 + +%description -n %{name}+abi3-py311-devel %{_description} + +This package contains library source intended for building other packages which +use the "abi3-py311" feature of the "%{crate}" crate. + +%files -n %{name}+abi3-py311-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+abi3-py37-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf index 84858b5..4d8e944 100644 --- a/rust2rpm.conf +++ b/rust2rpm.conf @@ -11,3 +11,5 @@ lib+abi3-py39.requires = python3-devel >= 3.9 lib+abi3-py310.requires = python3-devel >= 3.10 +lib+abi3-py311.requires = + python3-devel >= 3.11 diff --git a/sources b/sources index cbd335c..f177594 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-ffi-0.17.3.crate) = c08481d1530207fee544a5dde14253415e5451c1c013b86ac1f0e9bcb3c1df7866764cd11bad523105b6821725560329b89ff689b3aa2f0698cdab148d0fc12e +SHA512 (pyo3-ffi-0.18.1.crate) = 35f2838f6b06bbb1ad6ebdc0d68c750fc8cffc43b62fadf2b76d4a395a4655797e9d93543ffb204ff7ea312f7f37444375c556831a231122f9fc1477ec986bec