The package rpms/rust-onig.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-onig.git/commit/?id=558f7c6b....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 558f7c6b1dcd51430aed9a1d07e833b5e86d0a3d
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Mon Sep 3 20:06:11 2018 +0200
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9a91038
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/onig-4.1.0.crate
diff --git a/rust-onig.spec b/rust-onig.spec
new file mode 100644
index 0000000..01b27b7
--- /dev/null
+++ b/rust-onig.spec
@@ -0,0 +1,62 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate onig
+
+Name: rust-%{crate}
+Version: 4.1.0
+Release: 1%{?dist}
+Summary: Set of rust bindings for the oniguruma regular expression library
+
+License: MIT
+URL:
https://crates.io/crates/onig
+Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0)
+BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
+BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
+BuildRequires: (crate(onig_sys) >= 68.2.0 with crate(onig_sys) < 69.0.0)
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Rust-Onig is a set of rust bindings for the
+oniguruma regular expression library.
+
+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.md
+%doc onig_README README.md
+%{cargo_registry}/%{crate}-%{version}/
+%exclude
%{cargo_registry}/%{crate}-%{version}/{appveyor.yml,appveyor_rust_install.ps1,Vagrantfile}
+
+%changelog
+* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 4.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..43de79c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (onig-4.1.0.crate) =
61946caa9f2bb8c72a163a11331e4e4c6d0150db6ab02cf51beb0508c29d2b4fd2d9a6f3628a0cd8a61ab62cada0fbcf6c6d9bf6247392c4d7fd2294b8e87bd7