From 331464b1ee9252a9fbb1ea6087d6d8ce7e036a27 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 21 Mar 2022 12:32:31 +0100 Subject: [PATCH] Update to version 1.0.16; Fixes RHBZ#2065474 --- .gitignore | 1 + rust-quote.spec | 17 +++++++++-------- sources | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 1028298..6629977 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /quote-1.0.10.crate /quote-1.0.14.crate /quote-1.0.15.crate +/quote-1.0.16.crate diff --git a/rust-quote.spec b/rust-quote.spec index d39171c..731a04a 100644 --- a/rust-quote.spec +++ b/rust-quote.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate quote Name: rust-%{crate} -Version: 1.0.15 +Version: 1.0.16 Release: %autorelease Summary: Quasi-quoting macro quote!(...) @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Quasi-quoting macro quote!(...).} @@ -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 %package -n %{name}+proc-macro-devel Summary: %{summary} @@ -59,7 +60,7 @@ This package contains library source intended for building other packages which use the "proc-macro" feature of the "%{crate}" crate. %files -n %{name}+proc-macro-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 b42da41..bd6f155 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (quote-1.0.15.crate) = 76403bfac4e9a018b29ddf8f911135206d4fdc266db38a95cc92f6159a8b436d39d64c4ae6c3fd16ad83117270ed329b6a151d589cab46c75443c57b533dfaeb +SHA512 (quote-1.0.16.crate) = 489f4dcaa8a8a2041b39fc8fc815fa7943c0a456881283398e4eb65f7b50f220a6e5493d60d1d5019a48b189ca217fd8c62056b552bf94b9329ec963cce01c74