diff --git a/.gitignore b/.gitignore index fd7adad..53b2479 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /pyo3-macros-backend-0.18.3.crate /pyo3-macros-backend-0.19.1.crate /pyo3-macros-backend-0.19.2.crate +/pyo3-macros-backend-0.20.0.crate diff --git a/rust-pyo3-macros-backend.spec b/rust-pyo3-macros-backend.spec index ed26553..fa26822 100644 --- a/rust-pyo3-macros-backend.spec +++ b/rust-pyo3-macros-backend.spec @@ -1,19 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate pyo3-macros-backend Name: rust-pyo3-macros-backend -Version: 0.19.2 +Version: 0.20.0 Release: %autorelease Summary: Code generation for PyO3 package -License: Apache-2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/pyo3-macros-backend Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Code generation 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 @@ -58,7 +59,7 @@ use the "abi3" 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 edecf8b..a2dd506 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-macros-backend-0.19.2.crate) = fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e +SHA512 (pyo3-macros-backend-0.20.0.crate) = c823caba48b4a30aaf84c23f80934f0172f2c76a41b538b69ebc25afcb61611b54b8fbb4ab6cac1c7a78b4e6f9f909f22748a2cd279b508d3897b74b17021d56