diff --git a/.gitignore b/.gitignore index 9726d9c..c8b0843 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /pyo3-macros-0.18.3.crate /pyo3-macros-0.19.1.crate /pyo3-macros-0.19.2.crate +/pyo3-macros-0.20.0.crate diff --git a/rust-pyo3-macros.spec b/rust-pyo3-macros.spec index 1de8cdd..17fb258 100644 --- a/rust-pyo3-macros.spec +++ b/rust-pyo3-macros.spec @@ -1,19 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate pyo3-macros Name: rust-pyo3-macros -Version: 0.19.2 +Version: 0.20.0 Release: %autorelease Summary: Proc macros for PyO3 package -License: Apache-2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/pyo3-macros Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Proc macros for PyO3 package.} @@ -30,7 +30,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT %{crate_instdir}/ %package -n %{name}+default-devel @@ -70,7 +71,7 @@ use the "multiple-pymethods" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 6d25895..9e32707 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-macros-0.19.2.crate) = 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e +SHA512 (pyo3-macros-0.20.0.crate) = 79b61f55010dad60dda2c5061c9736bef3f6805f28db230726937340a5c40a3fcfb727a0db7779c3eb094ebd45492f7af4f40a3fcaef42f160989a8ef6174e7e