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