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:
parent
233ee5516f
commit
aca34c7e91
|
@ -2,3 +2,4 @@
|
||||||
%__ocaml_requires %{_rpmconfigdir}/ocamldeps.sh --requires
|
%__ocaml_requires %{_rpmconfigdir}/ocamldeps.sh --requires
|
||||||
%__ocaml_magic ^(ELF|Objective caml|OCaml) .*$
|
%__ocaml_magic ^(ELF|Objective caml|OCaml) .*$
|
||||||
%__ocaml_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
|
%__ocaml_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
|
||||||
|
%__ocaml_flags magic_and_path
|
||||||
|
|
Loading…
Reference in New Issue