The package rpms/ocaml-base.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-base.git/commit/?id=4f63eea....
Change:
-%ifnarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit efff5510a696b195f23b7572ac5023bc46c4e498
Author: Dan Čermák <dan.cermak(a)cgc-instruments.com>
Date: Sun Jul 19 22:45:00 2020 +0200
Use %build_ldflags instead of $RPM_LD_FLAGS
diff --git a/ocaml-base.spec b/ocaml-base.spec
index 9df28a3..60a23ae 100644
--- a/ocaml-base.spec
+++ b/ocaml-base.spec
@@ -46,17 +46,17 @@ dune build %{?_smp_mflags}
# TODO: Once odoc is available, BR it and run this to generate documentation:
# dune build %{?_smp_mflags} @doc
-# Dune passes RPM_LD_FLAGS to ocamlmklib without -ldopt, resulting in "Unknown
-# option" warnings from ocamlmklib and a library that has not been linked with
-# the correct flags. We can't add -ldopt ourselves, since that breaks
-# compilation of the cmxs files. This seems to be a weakness of dune; linker
-# flags and libraries to be linked with have to be specified together, and
-# nothing takes care of separating them and adding ldopt as necessary. We
+# Dune passes %%build_ldflags to ocamlmklib without -ldopt, resulting in
+# "Unknown option" warnings from ocamlmklib and a library that has not been
+# linked with the correct flags. We can't add -ldopt ourselves, since that
+# breaks compilation of the cmxs files. This seems to be a weakness of dune;
+# linker flags and libraries to be linked with have to be specified together,
+# and nothing takes care of separating them and adding ldopt as necessary. We
# relink manually to address the problem.
pushd _build/default/src
-ocamlmklib -g -ldopt "$RPM_LD_FLAGS" -o base_stubs *.o
+ocamlmklib -g -ldopt "%build_ldflags" -o base_stubs *.o
cd ../hash_types/src
-ocamlmklib -g -ldopt "$RPM_LD_FLAGS" -o base_internalhash_types_stubs *.o
+ocamlmklib -g -ldopt "%build_ldflags" -o base_internalhash_types_stubs *.o
popd
%install
commit 4f63eea935b72881098b2352805b3395ae9d39ab
Author: Dan Čermák <dan.cermak(a)cgc-instruments.com>
Date: Sun Jul 19 22:41:32 2020 +0200
Version 0.14.0
diff --git a/ocaml-base.spec b/ocaml-base.spec
index 4f701f7..9df28a3 100644
--- a/ocaml-base.spec
+++ b/ocaml-base.spec
@@ -3,14 +3,10 @@
# tests at all until we are able to add ppx_jane to Fedora, and even then we
# will only be able to run the tests in non-bootstrap mode.
-%ifnarch %{ocaml_native_compiler}
-%global debug_package %{nil}
-%endif
-
%global srcname base
Name: ocaml-%{srcname}
-Version: 0.13.2
+Version: 0.14.0
Release: 1%{?dist}
Summary: Jane Street standard library for OCaml
@@ -18,9 +14,9 @@ License: MIT
URL:
https://github.com/janestreet/%{srcname}
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
-BuildRequires: ocaml >= 4.04.2
-BuildRequires: ocaml-dune-devel >= 1.5.1
-BuildRequires: ocaml-sexplib0-devel >= 0.13
+BuildRequires: ocaml >= 4.07.0
+BuildRequires: ocaml-dune-devel >= 2.0.0
+BuildRequires: (ocaml-sexplib0-devel >= 0.14 and ocaml-sexplib0-devel < 0.15)
%description
Base is a standard library for OCaml. It provides a standard set of
@@ -75,7 +71,7 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
%endif
%files
-%doc CHANGES.md CONTRIBUTING.md
README.org ROADMAP.md
+%doc CHANGES.md
README.org ROADMAP.md
%license LICENSE.md
%dir %{_libdir}/ocaml/%{srcname}/
%dir %{_libdir}/ocaml/%{srcname}/base_internalhash_types/
@@ -118,6 +114,9 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
%{_libdir}/ocaml/%{srcname}/*/*.mli
%changelog
+* Wed Jun 17 2020 Jerry James <loganjerry(a)gmail.com> - 0.14.0-1
+- Version 0.14.0
+
* Tue May 12 2020 Jerry James <loganjerry(a)gmail.com> - 0.13.2-1
- Version 0.13.2
diff --git a/sources b/sources
index 682c352..91137a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (base-0.13.2.tar.gz) =
69cb5826c59e6671932c09847554c19076693f06296b26bb0aa0a80d1d5c7826cc0bd52f5ef4d906d6bc493bf8d10082d2b80edba003990655a087dde95b3f42
+SHA512 (base-0.14.0.tar.gz) =
c713c9aaf369bc042afb1ead53dc5a34a6eb3c97abc7fef99868e3be8e976adc6297f34d13cfc314adf2182fc64b0cde9c9a05aeeb0f51380255aa1f8e0edf16