Update to version 0.20.0; Fixes RHBZ#2243416

epel10
Fabio Valentini 1 year ago
parent 141b99a0a7
commit c106478902
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/pyo3-ffi-0.18.3.crate /pyo3-ffi-0.18.3.crate
/pyo3-ffi-0.19.1.crate /pyo3-ffi-0.19.1.crate
/pyo3-ffi-0.19.2.crate /pyo3-ffi-0.19.2.crate
/pyo3-ffi-0.20.0.crate

@ -1,5 +1,5 @@
--- pyo3-ffi-0.19.2/Cargo.toml 1970-01-01T00:00:01+00:00 --- pyo3-ffi-0.20.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ pyo3-ffi-0.19.2/Cargo.toml 2023-08-01T13:21:17.556533+00:00 +++ pyo3-ffi-0.20.0/Cargo.toml 2023-11-13T23:45:21.194275+00:00
@@ -62,4 +62,3 @@ @@ -62,4 +62,3 @@
] ]
default = [] default = []

@ -1,22 +1,22 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate pyo3-ffi %global crate pyo3-ffi
Name: rust-pyo3-ffi Name: rust-pyo3-ffi
Version: 0.19.2 Version: 0.20.0
Release: %autorelease Release: %autorelease
Summary: Python-API bindings for the PyO3 ecosystem Summary: Python-API bindings for the PyO3 ecosystem
License: Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/pyo3-ffi URL: https://crates.io/crates/pyo3-ffi
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * drop MSVC- and MinGW-only features # * drop MSVC- and MinGW-only features
Patch: pyo3-ffi-fix-metadata.diff Patch: pyo3-ffi-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Python-API bindings for the PyO3 ecosystem.} Python-API bindings for the PyO3 ecosystem.}
@ -26,6 +26,7 @@ Python-API bindings for the PyO3 ecosystem.}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
Requires: python3-devel >= 3.7
%description devel %{_description} %description devel %{_description}
@ -33,14 +34,14 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE %license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md %doc %{crate_instdir}/README.md
%{crate_instdir}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
Requires: python3-devel >= 3.7
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
@ -135,7 +136,7 @@ use the "extension-module" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,5 +0,0 @@
[DEFAULT]
buildrequires =
python3-devel >= 3.7
lib+default.requires =
python3-devel >= 3.7

@ -0,0 +1,4 @@
[requires]
build = ["python3-devel >= 3.7"]
lib = ["python3-devel >= 3.7"]

@ -1 +1 @@
SHA512 (pyo3-ffi-0.19.2.crate) = 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 SHA512 (pyo3-ffi-0.20.0.crate) = a68f0b1380f2ac3d3034ac8b3788cd6573850137c6678694cbcc3e814b619510b9b21b11704c2e702d4eb7433d8b1d3a6dac663501b6db5197a409407802b714

Loading…
Cancel
Save