diff --git a/.gitignore b/.gitignore index 5fa6df2..ff464c0 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /pyo3-ffi-0.20.0.crate /pyo3-ffi-0.20.1.crate /pyo3-ffi-0.20.2.crate +/pyo3-ffi-0.21.1.crate diff --git a/pyo3-ffi-fix-metadata.diff b/pyo3-ffi-fix-metadata.diff index 271bb9d..3b1b163 100644 --- a/pyo3-ffi-fix-metadata.diff +++ b/pyo3-ffi-fix-metadata.diff @@ -1,5 +1,5 @@ ---- pyo3-ffi-0.20.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pyo3-ffi-0.20.2/Cargo.toml 2024-01-07T21:03:42.462829+00:00 +--- pyo3-ffi-0.21.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pyo3-ffi-0.21.1/Cargo.toml 2024-04-12T19:21:38.087892+00:00 @@ -66,7 +66,6 @@ ] default = [] diff --git a/rust-pyo3-ffi.spec b/rust-pyo3-ffi.spec index 206b22c..2743953 100644 --- a/rust-pyo3-ffi.spec +++ b/rust-pyo3-ffi.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate pyo3-ffi Name: rust-pyo3-ffi -Version: 0.20.2 +Version: 0.21.1 Release: %autorelease Summary: Python-API bindings for the PyO3 ecosystem @@ -17,6 +17,7 @@ Source: %{crates_source} Patch: pyo3-ffi-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: python3-devel >= 3.7 %global _description %{expand: Python-API bindings for the PyO3 ecosystem.} @@ -153,7 +154,6 @@ use the "extension-module" feature of the "%{crate}" crate. %generate_buildrequires %cargo_generate_buildrequires -echo 'python3-devel >= 3.7' %build %cargo_build diff --git a/rust2rpm.toml b/rust2rpm.toml index 613939e..b2ab4fe 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,8 @@ +[package] +cargo-toml-patch-comments = [ + "drop MSVC- and MinGW-only features", +] + [requires] build = ["python3-devel >= 3.7"] lib = ["python3-devel >= 3.7"] diff --git a/sources b/sources index 4f53e2e..b9cfc34 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-ffi-0.20.2.crate) = ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e +SHA512 (pyo3-ffi-0.21.1.crate) = 6d0f6d1c9d6af1255a1d709e1da6dee82c9948ddcd2c8b38c760e5fe23b6a65b050f030b46a38697aa82b5c1927fc9a20dff92cfabf1a03ca92099583a516c68