Update to version 0.20.1; Fixes RHBZ#2256288

epel10
Fabio Valentini 1 year ago
parent d85926814d
commit 350a80fc47
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -12,3 +12,4 @@
/pyo3-build-config-0.19.1.crate /pyo3-build-config-0.19.1.crate
/pyo3-build-config-0.19.2.crate /pyo3-build-config-0.19.2.crate
/pyo3-build-config-0.20.0.crate /pyo3-build-config-0.20.0.crate
/pyo3-build-config-0.20.1.crate

@ -1,5 +1,5 @@
--- pyo3-build-config-0.20.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- pyo3-build-config-0.20.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ pyo3-build-config-0.20.0/Cargo.toml 2023-11-13T23:43:53.587944+00:00 +++ pyo3-build-config-0.20.1/Cargo.toml 2023-12-31T22:21:16.775279+00:00
@@ -35,16 +35,8 @@ @@ -35,16 +35,8 @@
[dependencies.once_cell] [dependencies.once_cell]
version = "1" version = "1"

@ -5,14 +5,14 @@
%global crate pyo3-build-config %global crate pyo3-build-config
Name: rust-pyo3-build-config Name: rust-pyo3-build-config
Version: 0.20.0 Version: 0.20.1
Release: %autorelease Release: %autorelease
Summary: Build configuration for the PyO3 ecosystem Summary: Build configuration for the PyO3 ecosystem
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/pyo3-build-config URL: https://crates.io/crates/pyo3-build-config
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 "python3-dll-a" dependency # * drop MSVC- and MinGW-only "python3-dll-a" dependency
Patch: pyo3-build-config-fix-metadata.diff Patch: pyo3-build-config-fix-metadata.diff
@ -85,6 +85,18 @@ use the "abi3-py311" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py311-devel %files -n %{name}+abi3-py311-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py312-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+abi3-py312-devel %{_description}
This package contains library source intended for building other packages which
use the "abi3-py312" feature of the "%{crate}" crate.
%files -n %{name}+abi3-py312-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+abi3-py37-devel %package -n %{name}+abi3-py37-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -151,6 +163,9 @@ use the "resolve-config" feature of the "%{crate}" crate.
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
%if %{with check}
echo 'python3'
%endif
%build %build
%cargo_build %cargo_build

@ -0,0 +1,3 @@
[requires]
test = ["python3"]

@ -1 +1 @@
SHA512 (pyo3-build-config-0.20.0.crate) = a01d06ebeb4b9cfe6ff6731046101e9437498453ca5aa68ec53df3bfb2f34665a489f8072636c2da16c1e867f536032fd293f05a43561117fd131bde5fe5aac7 SHA512 (pyo3-build-config-0.20.1.crate) = 7e94e506bbcfe1c52fdf5ce2af16a38c62ca20f95571b930aa49ad3ff8da9356ca9dab1ad2952089920256d9ba24f5de819c3c88591bb62023dd2f17b7edf42f

Loading…
Cancel
Save