From 00674e6c9a3432628270d863d94c644ebc11c63fed8ebb0c9b0045fbe4c2495f Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sun, 23 Feb 2020 19:19:02 +0000 Subject: [PATCH] numpy OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pyml?expand=0&rev=7 --- ocaml-pyml.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ocaml-pyml.spec b/ocaml-pyml.spec index 2fa4bb6..5135584 100644 --- a/ocaml-pyml.spec +++ b/ocaml-pyml.spec @@ -33,7 +33,11 @@ BuildRequires: ocamlfind(stdcompat) BuildRequires: ocamlfind(unix) # make check BuildRequires: python > 3.0 +%if 0%{?suse_version} > 1315 BuildRequires: python3-numpy +%else +BuildRequires: python-numpy +%endif %description Stdcompat is a compatibility layer allowing programs to use some recent additions to the OCaml standard library while preserving the ability to be compiled on former versions of OCaml.