Blame 0001-Fix-regression-causing-all-ELF-files-classified-as-O.patch
|
Panu Matilainen |
999c69 |
From cbbbf06a0ba3aaced56edf5f632c1b0da6da0c6b Mon Sep 17 00:00:00 2001
|
|
Panu Matilainen |
999c69 |
Message-Id: <cbbbf06a0ba3aaced56edf5f632c1b0da6da0c6b.1586433208.git.pmatilai@redhat.com>
|
|
Panu Matilainen |
999c69 |
From: Panu Matilainen <pmatilai@redhat.com>
|
|
Panu Matilainen |
999c69 |
Date: Thu, 9 Apr 2020 14:49:30 +0300
|
|
Panu Matilainen |
999c69 |
Subject: [PATCH] Fix regression causing all ELF files classified as OCaml
|
|
Panu Matilainen |
999c69 |
|
|
Panu Matilainen |
999c69 |
Commit a6fe37c39b39acbcbd014dd1e6d5653ff84254a1 causes OCaml generators
|
|
Panu Matilainen |
999c69 |
to execute on all ELF files due to missing "magic_and_path" flag.
|
|
Panu Matilainen |
999c69 |
|
|
Panu Matilainen |
999c69 |
Fixes: #1173
|
|
Panu Matilainen |
999c69 |
---
|
|
Panu Matilainen |
999c69 |
fileattrs/ocaml.attr | 1 +
|
|
Panu Matilainen |
999c69 |
1 file changed, 1 insertion(+)
|
|
Panu Matilainen |
999c69 |
|
|
Panu Matilainen |
999c69 |
diff --git a/fileattrs/ocaml.attr b/fileattrs/ocaml.attr
|
|
Panu Matilainen |
999c69 |
index ad698b5fa..4bd65c17a 100644
|
|
Panu Matilainen |
999c69 |
--- a/fileattrs/ocaml.attr
|
|
Panu Matilainen |
999c69 |
+++ b/fileattrs/ocaml.attr
|
|
Panu Matilainen |
999c69 |
@@ -2,3 +2,4 @@
|
|
Panu Matilainen |
999c69 |
%__ocaml_requires %{_rpmconfigdir}/ocamldeps.sh --requires
|
|
Panu Matilainen |
999c69 |
%__ocaml_magic ^(ELF|Objective caml|OCaml) .*$
|
|
Panu Matilainen |
999c69 |
%__ocaml_path .(cma|cmi|cmo|cmx|cmxa|cmxs)$
|
|
Panu Matilainen |
999c69 |
+%__ocaml_flags magic_and_path
|
|
Panu Matilainen |
999c69 |
--
|
|
Panu Matilainen |
999c69 |
2.25.2
|
|
Panu Matilainen |
999c69 |
|