Fix without coq case.

This commit is contained in:
Richard W.M. Jones 2020-04-02 14:18:45 +01:00
parent d274564657
commit 886e232d94

View File

@ -98,6 +98,10 @@ dune install --destdir=%{buildroot}
%if %{with coq}
make -C coq-menhirlib install DESTDIR=%{buildroot}
%else
# Even if coq is disabled, dune will put a META file and dune-package
# here.
rm -rf %{buildroot}%{_libdir}/ocaml/coq-menhirlib/
%endif
# We do not want the dune markers