- 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,6 +5,7 @@ Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de
Take negative predicates in requires() into account, and ignore them. Take negative predicates in requires() into account, and ignore them.
This is supposed to avoid dependency cycles due to excessive This is supposed to avoid dependency cycles due to excessive
list of dependencies. list of dependencies.
- Run dune installed-libraries also in ocaml_dune_test
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 14 14:14:14 UTC 2021 - ohering@suse.de 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} ; \ read dune_release_pkgs < dune_release_pkgs-%%{name}-%%{version}-%%{release} ; \
dune_for_release="--for-release-of-packages=${dune_release_pkgs}" ; \ dune_for_release="--for-release-of-packages=${dune_release_pkgs}" ; \
fi ; \ 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 \\\ if dune runtest \\\
--verbose \\\ --verbose \\\
${dune_for_release} \\\ ${dune_for_release} \\\