From 3638fd4c00f2bcad337ac8413438758eba147505 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 6 Dec 2019 14:12:11 +0000 Subject: [PATCH] Remove support for native profiling, see: https://github.com/ocaml/ocaml/pull/2314 --- macros.ocaml-srpm | 4 +++- ocaml-srpm-macros.spec | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/macros.ocaml-srpm b/macros.ocaml-srpm index ad0846c..bb1859f 100644 --- a/macros.ocaml-srpm +++ b/macros.ocaml-srpm @@ -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} diff --git a/ocaml-srpm-macros.spec b/ocaml-srpm-macros.spec index a1d725e..b70048a 100644 --- a/ocaml-srpm-macros.spec +++ b/ocaml-srpm-macros.spec @@ -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 - 6-1 +- Remove support for native profiling, see: + https://github.com/ocaml/ocaml/pull/2314 + * Thu Jul 25 2019 Fedora Release Engineering - 5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild