The package rpms/ocaml-mew.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/ocaml-mew.git/commit/?id=7725a44a....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit 7725a44ad332226b7c9dbaed7fda24ae79e71ad8
Author: Jerry James <loganjerry(a)gmail.com>
Date: Thu Jun 25 20:22:50 2020 -0600
Initial import.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..800c419
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/mew-*.tar.gz
diff --git a/ocaml-mew.spec b/ocaml-mew.spec
new file mode 100644
index 0000000..01beb4f
--- /dev/null
+++ b/ocaml-mew.spec
@@ -0,0 +1,94 @@
+%ifnarch %{ocaml_native_compiler}
+%global debug_package %{nil}
+%endif
+
+%global srcname mew
+
+Name: ocaml-%{srcname}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Modal Editing Witch
+
+License: MIT
+URL:
https://github.com/kandu/mew
+Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
+
+BuildRequires: ocaml >= 4.02.3
+BuildRequires: ocaml-dune >= 1.1.0
+BuildRequires: ocaml-odoc
+BuildRequires: ocaml-result-devel
+BuildRequires: ocaml-trie-devel
+
+%description
+This is the core module of mew, a general modal editing engine generator.
+You can provide `Key`, `Mode`, and `Concurrent` modules to define the
+real world environment to get the core component of a modal editing
+engine. The core component supports recursive key mappings associated
+with user provided modes. After the core component is generated, you may
+extended it with a translator to interpret user key sequences to get a
+complete modal editing engine.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: ocaml-result-devel%{?_isa}
+Requires: ocaml-trie-devel%{?_isa}
+
+%description devel
+The %{name}-devel package contains libraries and signature
+files for developing applications that use %{name}.
+
+%prep
+%autosetup -n %{srcname}-%{version}
+
+%build
+dune build %{?_smp_mflags}
+dune build %{?_smp_mflags} @doc
+
+%install
+dune install --destdir=%{buildroot}
+
+# We do not want the dune markers
+find _build/default/_doc/_html -name .dune-keep -delete
+
+# We do not want the ml files
+find %{buildroot}%{_libdir}/ocaml -name \*.ml -delete
+
+# We install the documentation with the doc macro
+rm -fr %{buildroot}%{_prefix}/doc
+
+%ifarch %{ocaml_native_compiler}
+# Add missing executable bits
+find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
+%endif
+
+# The tests cannot be run, since Fedora does not yet have ppx_expect.
+#
+#%%check
+#dune runtest
+
+%files
+%doc CHANGES.md README.md
+%license LICENSE
+%dir %{_libdir}/ocaml/%{srcname}/
+%{_libdir}/ocaml/%{srcname}/%{srcname}.cma
+%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmi
+%ifarch %{ocaml_native_compiler}
+%{_libdir}/ocaml/%{srcname}/%{srcname}.cmxs
+%endif
+
+%files devel
+%doc _build/default/_doc/*
+%{_libdir}/ocaml/%{srcname}/META
+%{_libdir}/ocaml/%{srcname}/dune-package
+%{_libdir}/ocaml/%{srcname}/opam
+%ifarch %{ocaml_native_compiler}
+%{_libdir}/ocaml/%{srcname}/%{srcname}.a
+%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmx
+%{_libdir}/ocaml/%{srcname}/%{srcname}.cmxa
+%endif
+%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmt
+
+%changelog
+* Wed Jun 17 2020 Jerry James <loganjerry(a)gmail.com> - 0.1.0-1
+- Initial RPM
diff --git a/sources b/sources
new file mode 100644
index 0000000..2987c26
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (mew-0.1.0.tar.gz) =
77a68f6dc9f3edc729384d59247a29f32f969dc6d987ed2e6c88b9a64b655822dafa9c3cb424bf40e6cf9ed20cddf9c708738872db245f14a711770e8e938db3