The package rpms/rust-fuzzy-matcher.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-fuzzy-matcher.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 07c3b888480f91602136c924293bb5064185fcdd
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Mon Apr 22 17:00:25 2019 +0200
Initial import (#1699591)
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7f9ecc0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fuzzy-matcher-0.2.1.crate
diff --git a/0001-Fix-import-in-tests.patch b/0001-Fix-import-in-tests.patch
new file mode 100644
index 0000000..7148bb9
--- /dev/null
+++ b/0001-Fix-import-in-tests.patch
@@ -0,0 +1,39 @@
+From 9aaee9f2153aae25c77afbebf8a0875ffe3a2e75 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m(a)gmail.com>
+Date: Sun, 14 Apr 2019 00:56:34 +0200
+Subject: [PATCH] Fix import in tests
+
+---
+ src/clangd.rs | 2 +-
+ src/skim.rs | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/clangd.rs b/src/clangd.rs
+index 0681a58..b0ad979 100644
+--- a/src/clangd.rs
++++ b/src/clangd.rs
+@@ -3,7 +3,7 @@
+ ///!
+ ///! # Example:
+ ///! ```edition2018
+-///! use fuzzy_matcher::clangd::{fuzzy_match, fuzzy_matcher};
++///! use fuzzy_matcher::clangd::{fuzzy_match, fuzzy_indices};
+ ///!
+ ///! assert_eq!(None, fuzzy_match("abc", "abx"));
+ ///! assert!(fuzzy_match("axbycz", "abc").is_some());
+diff --git a/src/skim.rs b/src/skim.rs
+index 417a733..9cee343 100644
+--- a/src/skim.rs
++++ b/src/skim.rs
+@@ -3,7 +3,7 @@
+ ///
+ ///! # Example:
+ ///! ```edition2018
+-///! use fuzzy_matcher::skim::{fuzzy_match, fuzzy_matcher};
++///! use fuzzy_matcher::skim::{fuzzy_match, fuzzy_indices};
+ ///!
+ ///! assert_eq!(None, fuzzy_match("abc", "abx"));
+ ///! assert!(fuzzy_match("axbycz", "abc").is_some());
+--
+2.21.0
+
diff --git a/rust-fuzzy-matcher.spec b/rust-fuzzy-matcher.spec
new file mode 100644
index 0000000..12e2132
--- /dev/null
+++ b/rust-fuzzy-matcher.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fuzzy-matcher
+
+Name: rust-%{crate}
+Version: 0.2.1
+Release: 1%{?dist}
+Summary: Fuzzy Matching Library
+
+License: MIT
+URL:
https://crates.io/crates/fuzzy-matcher
+Source: %{crates_source}
+#
https://github.com/lotabout/fuzzy-matcher/pull/3
+Patch0: 0001-Fix-import-in-tests.patch
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+%if %{with check}
+BuildRequires: (crate(termion/default) >= 1.5.1 with crate(termion/default) <
2.0.0)
+%endif
+
+%global _description \
+Fuzzy matching algorithms in Rust.
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%doc README.md examples
+%license LICENSE
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Apr 14 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0.2.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..f2bbe2e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fuzzy-matcher-0.2.1.crate) =
c177eacbbfb45bcf6f607e0d421da18eaf4c25738a26fd553574901be2e9f5b9fd877f4886b0f6d68050dbd7a04d37f73420648fa3e122f2a18e26794865b63d