rpm/rpm-4.9.0-beta1-ocaml-magic.patch
2011-02-06 10:01:55 +02:00

16 lines
562 B
Diff

commit 9fa3a6c99d93c0eb9659f38a10eb43a0265cce4f
Author: Panu Matilainen <pmatilai@redhat.com>
Date: Sun Feb 6 09:57:03 2011 +0200
Adjust OCaml detection rule for libmagic 5.04 -> 5.05 string change
diff --git a/fileattrs/ocaml.attr b/fileattrs/ocaml.attr
index 53b63ae..5fd0870 100644
--- a/fileattrs/ocaml.attr
+++ b/fileattrs/ocaml.attr
@@ -1,3 +1,3 @@
%__ocaml_provides %{_rpmconfigdir}/ocaml-find-provides.sh
%__ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh
-%__ocaml_magic ^Objective caml.*$
+%__ocaml_magic ^(Objective caml|OCaml) .*$