Remove support for native profiling, see:

https://github.com/ocaml/ocaml/pull/2314
This commit is contained in:
Richard W.M. Jones 2019-12-06 14:12:11 +00:00
parent 72f07f9034
commit 3638fd4c00
2 changed files with 9 additions and 3 deletions

View File

@ -10,4 +10,6 @@
%ocaml_natdynlink aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
# Architectures that support profiling of native code (ocamlopt -p).
%ocaml_native_profiling %{arm} %{ix86} ppc ppc64 ppc64le sparc sparcv9 x86_64
# This was removed in OCaml 4.09.
# https://github.com/ocaml/ocaml/pull/2314
%ocaml_native_profiling %{nil}

View File

@ -11,8 +11,8 @@
%global macros_dir %{_rpmconfigdir}/macros.d
Name: ocaml-srpm-macros
Version: 5
Release: 6%{?dist}
Version: 6
Release: 1%{?dist}
Summary: OCaml architecture macros
License: GPLv2+
@ -45,6 +45,10 @@ install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm
%changelog
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 6-1
- Remove support for native profiling, see:
https://github.com/ocaml/ocaml/pull/2314
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild