From 4b6c153b6e3a429d4f2d3e47ccaccd1507c477c00544120130e4b197491badaa Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 21 Apr 2021 12:50:50 +0000 Subject: [PATCH] - Remove ocaml_native_compiler flag, assume native target This flag puts too much burden on pkgs that use ocaml, but build with their buildsystem instead of using dune OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=59 --- ocaml-rpm-macros.changes | 7 +++++++ ocaml-rpm-macros.spec | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ocaml-rpm-macros.changes b/ocaml-rpm-macros.changes index eab4208..615a80b 100644 --- a/ocaml-rpm-macros.changes +++ b/ocaml-rpm-macros.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Apr 21 12:34:56 UTC 2021 - ohering@suse.de + +- Remove ocaml_native_compiler flag, assume native target + This flag puts too much burden on pkgs that use ocaml, but build + with their buildsystem instead of using dune + ------------------------------------------------------------------- Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de diff --git a/ocaml-rpm-macros.spec b/ocaml-rpm-macros.spec index 5cddd8c..c309dda 100644 --- a/ocaml-rpm-macros.spec +++ b/ocaml-rpm-macros.spec @@ -17,7 +17,7 @@ Name: ocaml-rpm-macros -Version: 20210409 +Version: 20210421 Release: 0 Summary: RPM macros for building OCaml source packages License: GPL-2.0-only @@ -142,7 +142,6 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_' %endif %%define _lto_cflags %%{nil} \ %%{nil} -%%suse_ocaml_native_compiler 1 %%_find_debuginfo_dwz_opts %%{nil} %else %%ocaml_preserve_bytecode \ @@ -150,7 +149,6 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_' %%define __arch_install_post export NO_BRP_STRIP_DEBUG=true \ %%define _lto_cflags %%{nil} \ %%{nil} -%%suse_ocaml_native_compiler 0 %endif # Create file list for base pkg and base-devel pkg