Accepting request 921451 from home:mcepl:branches:devel:languages:ocaml

- Don't use python(abi) construct it is not reliably supported in
  openSUSE.

OBS-URL: https://build.opensuse.org/request/show/921451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pyml?expand=0&rev=17
This commit is contained in:
Olaf Hering 2021-09-27 10:51:53 +00:00 committed by Git OBS Bridge
parent 3bed41633d
commit d28588ee8e
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 25 20:58:01 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Don't use python(abi) construct it is not reliably supported in
openSUSE.
-------------------------------------------------------------------
Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de

View File

@ -15,11 +15,12 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ocaml-pyml
Version: 20210924
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Stdcompat: compatibility module for OCaml standard library
Summary: Stdcompat: compatibility module for OCaml standard library
License: BSD-2-Clause
Group: Development/Languages/OCaml
URL: https://opam.ocaml.org/packages/pyml
@ -31,12 +32,8 @@ BuildRequires: ocamlfind(bigarray)
BuildRequires: ocamlfind(stdcompat)
BuildRequires: ocamlfind(unix)
# make check
BuildRequires: python(abi) > 3.0
%if 0%{?suse_version} > 1315
BuildRequires: python3-base
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.
@ -46,7 +43,6 @@ Summary: Development files for %{name}
Group: Development/Languages/OCaml
Requires: %{name} = %{version}
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.