|
|
|
@ -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:
|
|
|
|
|