- Run dune installed-libraries also in ocaml_dune_test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=51
This commit is contained in:
Olaf Hering 2021-01-28 00:06:41 +00:00 committed by Git OBS Bridge
parent 6267059f33
commit f46630aa30
2 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,8 @@ Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de
Take negative predicates in requires() into account, and ignore them.
This is supposed to avoid dependency cycles due to excessive
list of dependencies.
- Run dune installed-libraries also in ocaml_dune_test
-------------------------------------------------------------------
Thu Jan 14 14:14:14 UTC 2021 - ohering@suse.de

View File

@ -507,6 +507,11 @@ ocaml setup.ml -configure \\\
read dune_release_pkgs < dune_release_pkgs-%%{name}-%%{version}-%%{release} ; \
dune_for_release="--for-release-of-packages=${dune_release_pkgs}" ; \
fi ; \
dune installed-libraries $OCAML_DUNE_INSTALLED_LIBRARIES_ARGS ; \
dune external-lib-deps \\\
${dune_for_release} \\\
'@runtest' \\\
$OCAML_DUNE_EXTERNAL_LIB_DEPS_ARGS ; \
if dune runtest \\\
--verbose \\\
${dune_for_release} \\\