diff --git a/.gitignore b/.gitignore index 0c821df..2dbaa0e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /pyo3-ffi-0.21.1.crate /pyo3-ffi-0.21.2.crate /pyo3-ffi-0.22.0.crate +/pyo3-ffi-0.22.2.crate diff --git a/rust-pyo3-ffi.spec b/rust-pyo3-ffi.spec index fd94ab4..10efe07 100644 --- a/rust-pyo3-ffi.spec +++ b/rust-pyo3-ffi.spec @@ -5,16 +5,13 @@ %global crate pyo3-ffi Name: rust-pyo3-ffi -Version: 0.22.0 +Version: 0.22.2 Release: %autorelease Summary: Python-API bindings for the PyO3 ecosystem License: MIT OR Apache-2.0 URL: https://crates.io/crates/pyo3-ffi Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * drop MSVC- and MinGW-only features -Patch: pyo3-ffi-fix-metadata.diff # Downstream-only patch: always allow unsupported versions of Python. # We constantly attempt to integrate alpha and beta releases of Python diff --git a/rust2rpm.toml b/rust2rpm.toml index b2ab4fe..235110c 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,7 +1,6 @@ -[package] -cargo-toml-patch-comments = [ - "drop MSVC- and MinGW-only features", -] +[features] +# drop MSVC- and MinGW-only features +hide = ["generate-import-lib"] [requires] build = ["python3-devel >= 3.7"] diff --git a/sources b/sources index a4dcb95..0e51a5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-ffi-0.22.0.crate) = cede32dc8025badcdd6d00b4a1204c6ceb5ad30fa0b637deecca669f2ee2b8961f88d9d867caa8cae59f498dc4e1c15f3b4049c5f47615e215b0f289fc560bce +SHA512 (pyo3-ffi-0.22.2.crate) = bf8b83b4790832d99de8c6a61a15a43fc189505dd843011933305f7f93c4f5f4849fb00cc2a6fa410b788645f8ed8c0df61799cf801966a925abb9756b1ab579