From edebc4f85339e59a54f7a007e7ec07979438e4bc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 5 Mar 2022 21:02:08 +0100 Subject: [PATCH] Update to version 1.1.3; Fixes RHBZ#2057693 --- .gitignore | 1 + rust-proc-macro-crate.spec | 15 ++++++++------- sources | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 3855944..fb28f87 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /proc-macro-crate-1.0.0.crate /proc-macro-crate-1.1.0.crate /proc-macro-crate-1.1.2.crate +/proc-macro-crate-1.1.3.crate diff --git a/rust-proc-macro-crate.spec b/rust-proc-macro-crate.spec index 7ad03fb..31f3dac 100644 --- a/rust-proc-macro-crate.spec +++ b/rust-proc-macro-crate.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate proc-macro-crate Name: rust-%{crate} -Version: 1.1.2 +Version: 1.1.3 Release: %autorelease Summary: Replacement for crate (macro_rules keyword) in proc-macros @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Replacement for crate (macro_rules keyword) in proc-macros.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,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 363ee8c..20beba6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro-crate-1.1.2.crate) = 2ced9b33558e4716344d705dcb414169aa5b2e43b5f3005d003895d6be4461ce1460df69a4a3b92cc1f0578774f9e4aa5e6cca56eda7718db3ebf08c4c201896 +SHA512 (proc-macro-crate-1.1.3.crate) = b9553235c48ec2370481df90b568ba4c85e8a9a8d8d178f94bc67e87c447b4ee70db03f7c8ca1ea0678d56197e947598a5cc3c2a8753b068aaa1a27e0a4f9bca