From 8a084ed4f6cc713018ac9d54bc54f0e5f501b883 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 18 Jan 2023 20:45:45 +0100 Subject: [PATCH] Update to version 0.16.6 --- .gitignore | 1 + rust-pyo3-macros-backend.spec | 35 ++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 30 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index e3f4e9f..b867c06 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /pyo3-macros-backend-0.14.5.crate /pyo3-macros-backend-0.15.1.crate /pyo3-macros-backend-0.15.2.crate +/pyo3-macros-backend-0.16.6.crate diff --git a/rust-pyo3-macros-backend.spec b/rust-pyo3-macros-backend.spec index 956d0c0..2297cea 100644 --- a/rust-pyo3-macros-backend.spec +++ b/rust-pyo3-macros-backend.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate pyo3-macros-backend -Name: rust-%{crate} -Version: 0.15.2 +Name: rust-pyo3-macros-backend +Version: 0.16.6 Release: %autorelease Summary: Code generation for PyO3 package -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/pyo3-macros-backend Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -48,6 +45,30 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+abi3-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+abi3-devel %{_description} + +This package contains library source intended for building other packages which +use the "abi3" feature of the "%{crate}" crate. + +%files -n %{name}+abi3-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pyproto-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pyproto-devel %{_description} + +This package contains library source intended for building other packages which +use the "pyproto" feature of the "%{crate}" crate. + +%files -n %{name}+pyproto-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 68f812d..ae00be2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-macros-backend-0.15.2.crate) = 5c3be99d863764376c3f66de304de8b36548cd99fae8ac40c548b3d467b6bdfcd683c53b4cd1aba26b1730c6b9214c36b1723a5d1299265734e67ea791918c82 +SHA512 (pyo3-macros-backend-0.16.6.crate) = 49d82cff8762eeb27d8220aa98b2be43f614445f156212d45abef052e347ba2f4a7930e7c5c8a9843ea895ac5c223afc6527d036a9cad00efff9bda18907b019