From fe3688f126b4d28d6aa705921719853848a4850e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 21 Feb 2022 00:27:00 +0100 Subject: [PATCH] Update to version 1.1.2; Fixes RHBZ#2054891 --- .gitignore | 1 + rust-proc-macro-crate.spec | 15 ++++++--------- sources | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index cf94f68..3855944 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /proc-macro-crate-0.1.5.crate /proc-macro-crate-1.0.0.crate /proc-macro-crate-1.1.0.crate +/proc-macro-crate-1.1.2.crate diff --git a/rust-proc-macro-crate.spec b/rust-proc-macro-crate.spec index 9cfa07e..7ad03fb 100644 --- a/rust-proc-macro-crate.spec +++ b/rust-proc-macro-crate.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate proc-macro-crate Name: rust-%{crate} -Version: 1.1.0 +Version: 1.1.2 Release: %autorelease Summary: Replacement for crate (macro_rules keyword) in proc-macros @@ -15,9 +15,6 @@ URL: https://crates.io/crates/proc-macro-crate Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +29,8 @@ 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-APACHE LICENSE-MIT @@ -46,8 +43,8 @@ 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 diff --git a/sources b/sources index 9eeae80..363ee8c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro-crate-1.1.0.crate) = dd23638f127c46c24e7bc360a9f108ced8124acf8b0558b95021c40a59259f80c27a6ee6e366d72fc120908ae254c58feb7a73969457fce94fc1d20130ee590c +SHA512 (proc-macro-crate-1.1.2.crate) = 2ced9b33558e4716344d705dcb414169aa5b2e43b5f3005d003895d6be4461ce1460df69a4a3b92cc1f0578774f9e4aa5e6cca56eda7718db3ebf08c4c201896