From 736228f19b8bfecca0fa844ad68fe527eba562b9 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 11 Jan 2021 00:38:42 +0100 Subject: [PATCH] update to version 0.13.1 --- .gitignore | 1 + .rust2rpm.conf | 13 +++++++++++++ pyo3-fix-metadata.diff | 6 +++--- rust-pyo3.spec | 19 +++++++++++++++++-- sources | 2 +- 5 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index c9e5727..6064838 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /pyo3-0.13.0.crate +/pyo3-0.13.1.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..78cd02f --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,13 @@ +[DEFAULT] +buildrequires = + python3-devel >= 3.6 +lib+default.requires = + python3-devel >= 3.6 +lib+abi3-py36.requires = + python3-devel >= 3.6 +lib+abi3-py37.requires = + python3-devel >= 3.7 +lib+abi3-py38.requires = + python3-devel >= 3.8 +lib+abi3-py39.requires = + python3-devel >= 3.9 diff --git a/pyo3-fix-metadata.diff b/pyo3-fix-metadata.diff index 769f107..0aa16a9 100644 --- a/pyo3-fix-metadata.diff +++ b/pyo3-fix-metadata.diff @@ -1,7 +1,7 @@ ---- pyo3-0.13.0/Cargo.toml 2020-12-22T16:06:37+00:00 -+++ pyo3-0.13.0/Cargo.toml 2021-01-07T22:17:51.790053+00:00 +--- pyo3-0.13.1/Cargo.toml 2021-01-10T12:52:30+00:00 ++++ pyo3-0.13.1/Cargo.toml 2021-01-10T23:39:06.731495+00:00 @@ -16,7 +16,7 @@ - version = "0.13.0" + version = "0.13.1" authors = ["PyO3 Project and Contributors "] build = "build.rs" -exclude = ["/.gitignore", ".cargo/config"] diff --git a/rust-pyo3.spec b/rust-pyo3.spec index 775d3de..b48397b 100644 --- a/rust-pyo3.spec +++ b/rust-pyo3.spec @@ -5,7 +5,7 @@ %global crate pyo3 Name: rust-%{crate} -Version: 0.13.0 +Version: 0.13.1 Release: 1%{?dist} Summary: Bindings to Python interpreter @@ -47,6 +47,7 @@ which use "%{crate}" crate. %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch +Requires: python3-devel >= 3.6 %description -n %{name}+default-devel %{_description} @@ -59,7 +60,6 @@ which use "default" feature of "%{crate}" crate. %package -n %{name}+abi3-devel Summary: %{summary} BuildArch: noarch -Requires: python3-devel >= 3.9 %description -n %{name}+abi3-devel %{_description} @@ -121,6 +121,18 @@ which use "abi3-py39" feature of "%{crate}" crate. %files -n %{name}+abi3-py39-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+auto-initialize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+auto-initialize-devel %{_description} + +This package contains library source intended for building other packages +which use "auto-initialize" feature of "%{crate}" crate. + +%files -n %{name}+auto-initialize-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+ctor-devel Summary: %{summary} BuildArch: noarch @@ -286,5 +298,8 @@ echo 'python3-devel >= 3.6' %endif %changelog +* Sun Jan 10 2021 Fabio Valentini - 0.13.1-1 +- Update to version 0.13.1. + * Thu Jan 07 2021 Fabio Valentini - 0.13.0-1 - Initial package diff --git a/sources b/sources index 1bcfc4c..15f19d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-0.13.0.crate) = 8452aaf21c9d5950399933b5d20a1830f66d2a56cdf5f94cd22512a58fbcbaa6ac6605aded3aebb63b9004485050134ac11e6a82a6453eb8fd549a4ce96d8052 +SHA512 (pyo3-0.13.1.crate) = 6b4c03784fab2dc1f29cf06551a97a4cdeb780cf0d641c579ea888cfa648897656db2b90476a85faf26b6f060cafc5e0eae76ca7803c5df0171690d4e5b4fa2f