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.