From 6d0eaefa5cf3ee899328356709d35697fc4f9713 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jul 2019 11:22:32 +0200 Subject: [PATCH] Update to 0.5.8 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-proc-macro-hack.spec | 28 +++++++++++++++------------- sources | 2 +- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 89dbaed..4a8225d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /proc-macro-hack-0.5.5.crate /proc-macro-hack-0.5.6.crate /proc-macro-hack-0.5.7.crate +/proc-macro-hack-0.5.8.crate diff --git a/rust-proc-macro-hack.spec b/rust-proc-macro-hack.spec index 0205287..d38e3a3 100644 --- a/rust-proc-macro-hack.spec +++ b/rust-proc-macro-hack.spec @@ -1,32 +1,28 @@ -# Generated by rust2rpm-9-1.fc31 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate proc-macro-hack Name: rust-%{crate} -Version: 0.5.7 +Version: 0.5.8 Release: 1%{?dist} Summary: Procedural macros in expression position -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/proc-macro-hack Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(proc-macro2/default) >= 0.4.19 with crate(proc-macro2/default) < 0.5.0) -BuildRequires: (crate(quote/default) >= 0.6.8 with crate(quote/default) < 0.7.0) -BuildRequires: (crate(syn/default) >= 0.15.14 with crate(syn/default) < 0.16.0) -%if %{with check} -BuildRequires: (crate(demo-hack-impl/default) >= 0.0.5 with crate(demo-hack-impl/default) < 0.0.6) -BuildRequires: (crate(demo-hack/default) >= 0.0.5 with crate(demo-hack/default) < 0.0.6) -%endif -%global _description \ -Procedural macros in expression position. +%global _description %{expand: +Procedural macros in expression position.} %description %{_description} @@ -60,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -72,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jul 06 11:21:59 CEST 2019 Igor Gnatenko - 0.5.8-1 +- Update to 0.5.8 + * Thu May 09 09:03:38 CEST 2019 Igor Gnatenko - 0.5.7-1 - Update to 0.5.7 diff --git a/sources b/sources index 186e74a..88f68e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proc-macro-hack-0.5.7.crate) = bd3aff25369a7bb7f9cf01b2acbeb88cb7911c13c866118c8b7b452772cde3a65c7c339d69f86c896fe1a4709fa484556273134d0089848623c51d85bfd462a1 +SHA512 (proc-macro-hack-0.5.8.crate) = dac56e05b0533961af1328b05d9e490b955231dd26fc9b3d0bdb915f456acb1f7c78057c03dc9b6300902615adef514534768cf71867094a55e1ae284f278998