diff --git a/.gitignore b/.gitignore index 582e071..9afe067 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /futures-macro-0.3.18.crate /futures-macro-0.3.19.crate /futures-macro-0.3.21.crate +/futures-macro-0.3.23.crate diff --git a/rust-futures-macro.spec b/rust-futures-macro.spec index 49a68fe..68633b0 100644 --- a/rust-futures-macro.spec +++ b/rust-futures-macro.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate futures-macro -Name: rust-%{crate} -Version: 0.3.21 +Name: rust-futures-macro +Version: 0.3.23 Release: %autorelease Summary: Futures-rs procedural macro implementations -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/futures-macro Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Futures-rs procedural macro implementations.} @@ -33,8 +32,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +46,7 @@ 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 5171f2a..6aade4a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-macro-0.3.21.crate) = a79d4d3e487d05554e05e04f3a631fc9f0b5c525126eed550ee30eed16d4c457dc39274efac53558a3e33a119b8ff9d3552ce367359eec9d05105b278f7677c0 +SHA512 (futures-macro-0.3.23.crate) = 2a94721a5c59ab84b736716d1a4881638ec93f5a059aa0cae7e5d7faaf3054b8d2417719330109eec91cdb83a697330e4b397988e53fa9e74885046c5896c072