Fix regression causing all ELF files classified as OCaml

Commit a6fe37c39b causes OCaml generators
to execute on all ELF files due to missing "magic_and_path" flag.

Fixes: #1173
This commit is contained in:
Panu Matilainen 2020-04-09 14:49:30 +03:00
parent 233ee5516f
commit aca34c7e91
1 changed files with 1 additions and 0 deletions

View File

@ -2,3 +2,4 @@
%__ocaml_requires %{_rpmconfigdir}/ocamldeps.sh --requires
%__ocaml_magic ^(ELF|Objective caml|OCaml) .*$
%__ocaml_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
%__ocaml_flags magic_and_path