The package rpms/ocaml-base64.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-base64.git/commit/?id=8c6cc....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit 8c6cc1d1971f96a5b34c9c84480d0431d2bac48a
Author: Jerry James <loganjerry(a)gmail.com>
Date: Fri Jan 22 09:12:08 2021 -0700
Produce usable debuginfo
diff --git a/ocaml-base64.spec b/ocaml-base64.spec
index 4ad42f6..157826a 100644
--- a/ocaml-base64.spec
+++ b/ocaml-base64.spec
@@ -1,10 +1,10 @@
-# There's a problem building the debugsource package which I don't
-# understand. This should be solvable in future.
+%ifnarch %{ocaml_native_compiler}
%global debug_package %{nil}
+%endif
Name: ocaml-base64
Version: 3.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Base64 library for OCaml
License: ISC
@@ -51,6 +51,11 @@ 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
+
%files
%doc README.md
@@ -76,6 +81,9 @@ rm -fr %{buildroot}%{_prefix}/doc
%changelog
+* Fri Jan 22 2021 Jerry James <loganjerry(a)gmail.com> -3.4.0-2
+- Produce usable debuginfo
+
* Thu Jan 21 2021 Richard W.M. Jones <rjones(a)redhat.com> - 3.4.0-1
- New upstream version 3.4.0.
- Use dune to build.