From b88bda91955f4f478c8956bb003b219bcbefb54d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 5 May 2022 11:38:35 +0200 Subject: [PATCH] Update to version 0.15.2 --- .gitignore | 1 + rust-pyo3-macros-backend.spec | 23 ++++++++++------------- sources | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 5bbe3c9..e3f4e9f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /pyo3-macros-backend-0.14.4.crate /pyo3-macros-backend-0.14.5.crate /pyo3-macros-backend-0.15.1.crate +/pyo3-macros-backend-0.15.2.crate diff --git a/rust-pyo3-macros-backend.spec b/rust-pyo3-macros-backend.spec index 126fa27..956d0c0 100644 --- a/rust-pyo3-macros-backend.spec +++ b/rust-pyo3-macros-backend.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate pyo3-macros-backend Name: rust-%{crate} -Version: 0.15.1 +Version: 0.15.2 Release: %autorelease Summary: Code generation for PyO3 package @@ -15,11 +15,8 @@ URL: https://crates.io/crates/pyo3-macros-backend Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Code generation 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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 9775d4b..68f812d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyo3-macros-backend-0.15.1.crate) = 6c62fd1bc50666f63f9854947e9d88ae385159d90d026e0179d91aa151fef8403b23f55eab6f3340b1455b23d411083780c49198afacc267b49a52ee9c4999a4 +SHA512 (pyo3-macros-backend-0.15.2.crate) = 5c3be99d863764376c3f66de304de8b36548cd99fae8ac40c548b3d467b6bdfcd683c53b4cd1aba26b1730c6b9214c36b1723a5d1299265734e67ea791918c82