- remove usage of external-lib-deps for dune3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=67
This commit is contained in:
Olaf Hering 2022-03-17 22:19:50 +00:00 committed by Git OBS Bridge
parent 25116e28dc
commit 8e459b575b
2 changed files with 6 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 22 22:22:22 UTC 2022 - ohering@suse.de
- remove usage of external-lib-deps for dune3
-------------------------------------------------------------------
Wed Oct 27 07:31:27 UTC 2021 - ohering@suse.de

View File

@ -17,7 +17,7 @@
Name: ocaml-rpm-macros
Version: 20211027
Version: 20220222
Release: 0
Summary: RPM macros for building OCaml source packages
License: GPL-2.0-only
@ -460,19 +460,6 @@ ocaml setup.ml -configure \\\
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} \\\
'@install' \\\
$OCAML_DUNE_EXTERNAL_LIB_DEPS_ARGS ; \
dune external-lib-deps \\\
${dune_for_release} \\\
'@runtest' \\\
$OCAML_DUNE_EXTERNAL_LIB_DEPS_ARGS ; \
dune external-lib-deps \\\
${dune_for_release} \\\
'@install' '@runtest' \\\
$OCAML_DUNE_EXTERNAL_LIB_DEPS_ARGS \\\
| awk '/^-[[:blank:]]/{ printf "BuildRequires: ocamlfind(%%s)\\n", $2}' | sort -u ; \
%%{nil}
%%ocaml_dune_build \
if test -z "${_smp_mflags}" ;\