|
|
|
@ -6,10 +6,11 @@
|
|
|
|
|
%global crate syn
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.14.8
|
|
|
|
|
Version: 0.15.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Nom parser for Rust source code
|
|
|
|
|
Summary: Parser for Rust source code
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/syn
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
@ -24,6 +25,7 @@ BuildRequires: (crate(unicode-xid) >= 0.1.0 with crate(unicode-xid) < 0.2.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(walkdir) >= 2.1.0 with crate(walkdir) < 3.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -35,7 +37,7 @@ Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Nom parser for Rust source code.
|
|
|
|
|
Parser for Rust source code.
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
@ -61,6 +63,9 @@ which use %{crate} from crates.io.
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.1-1
|
|
|
|
|
- Update to 0.15.1
|
|
|
|
|
|
|
|
|
|
* Mon Aug 13 2018 Josh Stone <jistone@redhat.com> - 0.14.8-1
|
|
|
|
|
- Update to 0.14.8
|
|
|
|
|
|
|
|
|
|