diff --git a/.gitignore b/.gitignore index 29cb85e..52b639d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /pyo3-macros-0.14.5.crate /pyo3-macros-0.15.1.crate /pyo3-macros-0.15.2.crate +/pyo3-macros-0.16.6.crate diff --git a/rust-pyo3-macros.spec b/rust-pyo3-macros.spec index 6f75918..66bf214 100644 --- a/rust-pyo3-macros.spec +++ b/rust-pyo3-macros.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate pyo3-macros -Name: rust-%{crate} -Version: 0.15.2 +Name: rust-pyo3-macros +Version: 0.16.6 Release: %autorelease Summary: Proc macros for PyO3 package -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/pyo3-macros Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -48,6 +45,18 @@ 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}+multiple-pymethods-devel Summary: %{summary} BuildArch: noarch @@ -60,6 +69,18 @@ use the "multiple-pymethods" feature of the "%{crate}" crate. %files -n %{name}+multiple-pymethods-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 962b213..fc16e55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-macros-0.15.2.crate) = 4a40fae4362aa811996d9ff94ff7bfb645396eccffe13fbfc1fff70ada80db56f1a03630cadffca4ff6e156f04c052e82e059d72541d720abbf0ab18f2a7057e +SHA512 (pyo3-macros-0.16.6.crate) = 95b6898da9974ef232b04197e47ea4e7d60de9f817da9a9995f07b05ca74965df2b2e8e8267d616b665b04ab810b93ca17255b20df89ac9c71014e5c9fd3a9f1