diff --git a/.gitignore b/.gitignore index 42587a6..14f96b1 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ /syn-0.15.32.crate /syn-0.15.33.crate /syn-0.15.34.crate +/syn-0.15.35.crate diff --git a/rust-syn.spec b/rust-syn.spec index d5324ef..c7dfce4 100644 --- a/rust-syn.spec +++ b/rust-syn.spec @@ -1,37 +1,44 @@ -# Generated by rust2rpm-9-1.fc31 +# Generated by rust2rpm 9 +# * insta and ref-cast are not packaged %bcond_with check %global debug_package %{nil} %global crate syn Name: rust-%{crate} -Version: 0.15.34 +Version: 0.15.35 Release: 1%{?dist} Summary: Parser for Rust source code -# 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/syn Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(proc-macro2) >= 0.4.4 with crate(proc-macro2) < 0.5.0) BuildRequires: (crate(proc-macro2/proc-macro) >= 0.4.4 with crate(proc-macro2/proc-macro) < 0.5.0) BuildRequires: (crate(quote) >= 0.6.0 with crate(quote) < 0.7.0) BuildRequires: (crate(quote/proc-macro) >= 0.6.0 with crate(quote/proc-macro) < 0.7.0) BuildRequires: (crate(unicode-xid/default) >= 0.1.0 with crate(unicode-xid/default) < 0.2.0) %if %{with check} -BuildRequires: (crate(colored/default) >= 1.7.0 with crate(colored/default) < 2.0.0) -BuildRequires: (crate(insta/default) >= 0.7.0 with crate(insta/default) < 0.8.0) +BuildRequires: (crate(insta/default) >= 0.8.0 with crate(insta/default) < 0.9.0) BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0) +BuildRequires: (crate(ref-cast/default) >= 0.2.0 with crate(ref-cast/default) < 0.3.0) BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0) +BuildRequires: (crate(termcolor/default) >= 1.0.0 with crate(termcolor/default) < 2.0.0) BuildRequires: (crate(walkdir/default) >= 2.1.0 with crate(walkdir/default) < 3.0.0) %endif +%endif -%global _description \ -Parser for Rust source code. +%global _description %{expand: +Parser for Rust source code.} %description %{_description} @@ -209,6 +216,9 @@ which use "visit-mut" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 11:27:25 CEST 2019 Igor Gnatenko - 0.15.35-1 +- Update to 0.15.35 + * Thu May 09 08:26:56 CEST 2019 Igor Gnatenko - 0.15.34-1 - Update to 0.15.34 diff --git a/sources b/sources index 086af2b..fb2a081 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (syn-0.15.34.crate) = 3ecf0aec33732c8823ceb27bd1c5ac7e77c3736e45212a680c6cc2703ab3859e0907c09eac10a9540fb7188ad0d78edc82e7e783a01f064e5c11f84112c1963b +SHA512 (syn-0.15.35.crate) = c08a69aaded9a0016ef2db4e683710fe3e58334b70accc132c757e5bb8fab14b6877f7781dbd15c07ccc375178094ac7067d6d07246d2bfec16f5fc1d7679ed6