diff --git a/.gitignore b/.gitignore index a67f052..29cb85e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /pyo3-macros-0.14.4.crate /pyo3-macros-0.14.5.crate /pyo3-macros-0.15.1.crate +/pyo3-macros-0.15.2.crate diff --git a/rust-pyo3-macros.spec b/rust-pyo3-macros.spec index 5c5e120..6f75918 100644 --- a/rust-pyo3-macros.spec +++ b/rust-pyo3-macros.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate pyo3-macros Name: rust-%{crate} -Version: 0.15.1 +Version: 0.15.2 Release: %autorelease Summary: Proc macros for PyO3 package @@ -15,11 +15,8 @@ URL: https://crates.io/crates/pyo3-macros Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Proc macros for PyO3 package.} @@ -32,12 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,11 +42,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+multiple-pymethods-devel Summary: %{summary} @@ -57,11 +54,11 @@ BuildArch: noarch %description -n %{name}+multiple-pymethods-devel %{_description} -This package contains library source intended for building other packages -which use "multiple-pymethods" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "multiple-pymethods" feature of the "%{crate}" crate. %files -n %{name}+multiple-pymethods-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 19b0d3c..962b213 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-macros-0.15.1.crate) = 1969b5ec6dd26ff2d534fe43143e44b91b66e05c61281b64f96fda47ff7826f625c658412d7587520df7455a67cd970a9aa49c7544ffb70a425314a0cff65060 +SHA512 (pyo3-macros-0.15.2.crate) = 4a40fae4362aa811996d9ff94ff7bfb645396eccffe13fbfc1fff70ada80db56f1a03630cadffca4ff6e156f04c052e82e059d72541d720abbf0ab18f2a7057e