summaryrefslogtreecommitdiff
path: root/fileattrs/ocaml.attr
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2020-04-09 14:49:30 +0300
committerPanu Matilainen <pmatilai@redhat.com>2020-04-09 14:59:12 +0300
commitaca34c7e91518650fca05b386b173314c100b349 (patch)
treec66a520dd1d4dbaad8efee9c4a90facd40cd9d0f /fileattrs/ocaml.attr
parent233ee5516f038249a62bc6a25af4647096a6bc41 (diff)
downloadrpm-aca34c7e91518650fca05b386b173314c100b349.tar.gz
Fix regression causing all ELF files classified as OCaml
Commit a6fe37c39b39acbcbd014dd1e6d5653ff84254a1 causes OCaml generators to execute on all ELF files due to missing "magic_and_path" flag. Fixes: #1173
Diffstat (limited to 'fileattrs/ocaml.attr')
-rw-r--r--fileattrs/ocaml.attr1
1 files changed, 1 insertions, 0 deletions
diff --git a/fileattrs/ocaml.attr b/fileattrs/ocaml.attr
index ad698b5fa..4bd65c17a 100644
--- a/fileattrs/ocaml.attr
+++ b/fileattrs/ocaml.attr
@@ -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