From 61898bbbdf5ba1dbb340fb6986491b0369d65fe8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Jun 2024 09:34:40 +0100 Subject: [PATCH] Disable package notes --- ocaml-labltk.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ocaml-labltk.spec b/ocaml-labltk.spec index b7a7148..fbb4dc6 100644 --- a/ocaml-labltk.spec +++ b/ocaml-labltk.spec @@ -1,3 +1,8 @@ +# This breaks basic usage of the package: +# ocamlfind ocamlopt -package labltk tktest.ml -linkpkg -o tktest +# gcc: fatal error: environment variable ‘RPM_ARCH’ not defined +%undefine _package_note_flags + # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86}