diff --git a/ocaml-rpm-macros.spec b/ocaml-rpm-macros.spec index de90b46..59e285e 100644 --- a/ocaml-rpm-macros.spec +++ b/ocaml-rpm-macros.spec @@ -101,7 +101,7 @@ tee %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} <<'_EOF_' w %%{name}.files.devel\ d\ }\ - /\\/[^/]\\+\\.\\(a\\|annot\|cmx\\|cmxa\\|cma\\|cmi\\|cmt\\|cmti\\|exe\\|h\\|ml\\|mli\\)$/{\ + /\\/[^/]\\+\\.\\(a\\|annot\\|cmx\\|cmxa\\|cma\\|cmi\\|cmt\\|cmti\\|exe\\|h\\|ml\\|mli\\)$/{\ w %%{name}.files.devel\ s@\\/[^/]\\+$@@\ s@^@%%dir @\