From 58d19423b5b9f2c4843ddd9ee7e2d29eed3d0c9e87f1064ef605f123247e6ebd Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sun, 23 Feb 2020 19:29:10 +0000 Subject: [PATCH] fix OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pyml?expand=0&rev=8 --- ocaml-pyml.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ocaml-pyml.spec b/ocaml-pyml.spec index 5135584..31462b0 100644 --- a/ocaml-pyml.spec +++ b/ocaml-pyml.spec @@ -62,10 +62,11 @@ s@2>&1@@g ' Makefile diff -u "$_"~ "$_" && exit 1 %make_build -exit 0 +%if 0 dune_release_pkgs='pyml' %ocaml_dune_setup %ocaml_dune_build +%endif %install mkdir -vp '%{buildroot}%{ocaml_standard_library}' @@ -73,13 +74,15 @@ export OCAMLFIND_DESTDIR='%{buildroot}%{ocaml_standard_library}' export OCAMLFIND_LDCONF='ignore' %make_install STDCOMPAT="$(ocamlfind query stdcompat)" %ocaml_create_file_list -exit 0 +%if 0 %ocaml_dune_install %ocaml_create_file_list +%endif %check -exit 0 +%if 0 %ocaml_dune_test +%endif %files -f %{name}.files