diff --git a/rust-syn.spec b/rust-syn.spec index da8520c..528e570 100644 --- a/rust-syn.spec +++ b/rust-syn.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 # * insta and ref-cast are not packaged %bcond_with check %global debug_package %{nil} @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.15.36 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Parser for Rust source code # Upstream license specification: MIT OR Apache-2.0 @@ -21,21 +21,6 @@ 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(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 %{expand: Parser for Rust source code.} @@ -204,6 +189,9 @@ which use "visit-mut" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -216,6 +204,9 @@ which use "visit-mut" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 11:47:49 CEST 2019 Igor Gnatenko - 0.15.36-2 +- Regenerate + * Fri Jun 14 2019 Josh Stone - 0.15.36-1 - Update to 0.15.36