From 4ca40baae107d29328ac84eaa2b8c345f40c8e40 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 13 Dec 2022 13:49:55 +0100 Subject: [PATCH] Update to version 0.3.3; Fixes RHBZ#2063590 --- .gitignore | 1 + rust-async-stream-impl.spec | 28 +++++++++++----------------- sources | 2 +- 3 files changed, 13 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index d17ac9c..31a5f94 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /async-stream-impl-0.3.2.crate +/async-stream-impl-0.3.3.crate diff --git a/rust-async-stream-impl.spec b/rust-async-stream-impl.spec index e73363a..51ffc08 100644 --- a/rust-async-stream-impl.spec +++ b/rust-async-stream-impl.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate async-stream-impl -Name: rust-%{crate} -Version: 0.3.2 +Name: rust-async-stream-impl +Version: 0.3.3 Release: %autorelease Summary: Proc macros for async-stream crate -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/async-stream-impl 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 async-stream crate.} @@ -32,12 +26,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 +39,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 5365415..4d1a664 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-stream-impl-0.3.2.crate) = f381c48c57aa72c08708fe7a2a30d2ff3a73552b69a45d6147915cf0ea426743576e1254cf5c96a416bf7a983e056db7a5b415efae2ddfc78fb2cca4cbc34574 +SHA512 (async-stream-impl-0.3.3.crate) = d61bbd6d26eff8170a26fe98b1f8701d7e1082c27777108b059d8bfd166eafbe22172586d9e8e2a31c32cb7ea9e9ff9d689fcd070ce7ae5b526f7f3c68f1b212