The package rpms/rust-fancy-regex.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-fancy-regex.git/commit/?id=e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e4c704f58c2ef55d8f5cb2c82dcfda629c652eeb
Author: Igor Raits <ignatenkobrain(a)fedoraproject.org>
Date: Sun Jul 18 21:42:02 2021 +0200
Initial package (closes: RHBZ#1983472)
Signed-off-by: Igor Raits <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..71d2047
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fancy-regex-0.7.0.crate
diff --git a/fancy-regex-fix-metadata.diff b/fancy-regex-fix-metadata.diff
new file mode 100644
index 0000000..8d4ded3
--- /dev/null
+++ b/fancy-regex-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- fancy-regex-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ fancy-regex-0.7.0/Cargo.toml 2021-07-18T18:43:44.872702+00:00
+@@ -37,7 +37,7 @@
+ version = "0.1.8"
+
+ [dev-dependencies.quickcheck]
+-version = "= 1.0.1"
++version = "1.0.1"
+
+ [features]
+ track_caller = []
diff --git a/rust-fancy-regex.spec b/rust-fancy-regex.spec
new file mode 100644
index 0000000..9624b3a
--- /dev/null
+++ b/rust-fancy-regex.spec
@@ -0,0 +1,90 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fancy-regex
+
+Name: rust-%{crate}
+Version: 0.7.0
+Release: %autorelease
+Summary: Implementation of regexes, supporting a relatively rich set of features
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/fancy-regex
+Source: %{crates_source}
+# Initial patched metadata
+# * Do not pin quickcheck, not upstreamable
+Patch0: fancy-regex-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Implementation of regexes, supporting a relatively rich set of features,
+including backreferences and look-around.}
+
+%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
+%license LICENSE
+%doc examples README.md PERFORMANCE.md CONTRIBUTING.md CHANGELOG.md AUTHORS
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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_no_tilde}/Cargo.toml
+
+%package -n %{name}+track_caller-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+track_caller-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "track_caller" feature of "%{crate}" crate.
+
+%files -n %{name}+track_caller-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..6942dd5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fancy-regex-0.7.0.crate) =
a5e22e4c0ae097201ff8d42372369c0d11b7c0bd31d014bcb392761eec467f2bf473da82f4f95ea10c0a5989fb4e5092338e421f47bb02cf99330a0488d93c7e