add missing backslash to cover *.cmx again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=2
This commit is contained in:
Olaf Hering 2019-09-30 14:25:24 +00:00 committed by Git OBS Bridge
parent e7f0e71c17
commit ddee46a720

View File

@ -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 @\