The package rpms/rust-syn0.14.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-syn0.14.git/commit/?id=cbb05035....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit cbb050351af2c08d485e7ef39771e84fdf02f5f1 Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Wed Nov 8 14:40:39 2017 +0100
initial import
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..20987eb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/syn-0.14.9.crate diff --git a/rust-syn.spec b/rust-syn.spec new file mode 100644 index 0000000..c7c3565 --- /dev/null +++ b/rust-syn.spec @@ -0,0 +1,66 @@ +# Generated by rust2rpm +# * Tests require nightly compiler +%bcond_with check +%global debug_package %{nil} + +%global crate syn + +Name: rust-%{crate}0.14 +Version: 0.14.9 +Release: 1%{?dist} +Summary: Nom 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/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(proc-macro2) >= 0.4.4 with crate(proc-macro2) < 0.5.0) +BuildRequires: (crate(quote) >= 0.6.0 with crate(quote) < 0.7.0) +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(walkdir) >= 2.1.0 with crate(walkdir) < 3.0.0) +%endif + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +Nom parser for Rust source code. + +This package contains library source intended for building other packages +which use %{crate} from crates.io. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Sat Sep 08 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 0.14.9-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..93959e6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (syn-0.14.9.crate) = 909f2f77e8d90519b005909d5e198c5ba4279a3d430c58cb57b7408a21dbe60fcfce3207e8814149a6fb9482e10e9901706be4b8a617daa0360bcf476800fe2e
arch-excludes@lists.fedoraproject.org