Accepting request 1056078 from devel:languages:ocaml
- Update to version 20220905 use _multibuild for testsuite OBS-URL: https://build.opensuse.org/request/show/1056078 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-pyml?expand=0&rev=6
This commit is contained in:
commit
43e8a23da5
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>testsuite</package>
|
||||||
|
</multibuild>
|
2
_service
2
_service
@ -1,7 +1,7 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="filename">ocaml-pyml</param>
|
<param name="filename">ocaml-pyml</param>
|
||||||
<param name="revision">c4bff7730364c4df8ca0213694e9bf512bd935fe</param>
|
<param name="revision">e33f4c49cc97e7bc6f8e5faaa64cce994470642e</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="submodules">disable</param>
|
<param name="submodules">disable</param>
|
||||||
<param name="url">https://github.com/thierry-martinez/pyml.git</param>
|
<param name="url">https://github.com/thierry-martinez/pyml.git</param>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ff2807c5b6c8c867b9ca24868bf31aa391d3c4486a534e726e4e14028c3b475c
|
|
||||||
size 72740
|
|
BIN
ocaml-pyml-20220905.tar.xz
(Stored with Git LFS)
Normal file
BIN
ocaml-pyml-20220905.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 1 01:01:01 UTC 2023 - ohering@suse.de
|
||||||
|
|
||||||
|
- Update to version 20220905
|
||||||
|
use _multibuild for testsuite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 22 22:22:22 UTC 2022 - ohering@suse.de
|
Wed Jun 22 22:22:22 UTC 2022 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ocaml-pyml
|
# spec file for package ocaml-pyml
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,28 +16,43 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: ocaml-pyml
|
%bcond_with ocaml_pyml_testsuite
|
||||||
Version: 20220615
|
%define build_flavor @BUILD_FLAVOR@%nil
|
||||||
|
%if "%build_flavor" == "testsuite"
|
||||||
|
%if %{without ocaml_pyml_testsuite}
|
||||||
|
ExclusiveArch: do-not-build
|
||||||
|
%endif
|
||||||
|
%define nsuffix -testsuite
|
||||||
|
%else
|
||||||
|
%define nsuffix %nil
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define pkg ocaml-pyml
|
||||||
|
Name: %pkg%nsuffix
|
||||||
|
Version: 20220905
|
||||||
Release: 0
|
Release: 0
|
||||||
%{?ocaml_preserve_bytecode}
|
%{?ocaml_preserve_bytecode}
|
||||||
Summary: Stdcompat: compatibility module for OCaml standard library
|
Summary: Stdcompat: compatibility module for OCaml standard library
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
URL: https://opam.ocaml.org/packages/pyml
|
URL: https://opam.ocaml.org/packages/pyml
|
||||||
Source0: %name-%version.tar.xz
|
Source0: %pkg-%version.tar.xz
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-dune >= 2.8
|
BuildRequires: ocaml-dune >= 2.8
|
||||||
BuildRequires: ocaml-rpm-macros >= 20220409
|
BuildRequires: ocaml-rpm-macros >= 20230101
|
||||||
BuildRequires: ocamlfind(bigarray)
|
BuildRequires: ocamlfind(bigarray)
|
||||||
BuildRequires: ocamlfind(stdcompat)
|
BuildRequires: ocamlfind(stdcompat)
|
||||||
BuildRequires: ocamlfind(unix)
|
BuildRequires: ocamlfind(unix)
|
||||||
# make check
|
|
||||||
|
%if "%build_flavor" == "testsuite"
|
||||||
|
BuildRequires: ocamlfind(pyml)
|
||||||
%if 0%{?suse_version} > 1315
|
%if 0%{?suse_version} > 1315
|
||||||
BuildRequires: python3-numpy
|
BuildRequires: python3-numpy
|
||||||
%else
|
%else
|
||||||
BuildRequires: python-numpy
|
BuildRequires: python-numpy
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: which
|
BuildRequires: which
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%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.
|
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.
|
||||||
@ -53,22 +68,30 @@ The %name-devel package contains libraries and signature files for
|
|||||||
developing applications that use %name.
|
developing applications that use %name.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n %pkg-%version
|
||||||
|
|
||||||
%build
|
%build
|
||||||
dune_release_pkgs='pyml'
|
dune_release_pkgs='pyml'
|
||||||
%ocaml_dune_setup
|
%ocaml_dune_setup
|
||||||
|
%if "%build_flavor" == ""
|
||||||
%ocaml_dune_build
|
%ocaml_dune_build
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if "%build_flavor" == ""
|
||||||
%ocaml_dune_install
|
%ocaml_dune_install
|
||||||
%ocaml_create_file_list
|
%ocaml_create_file_list
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%build_flavor" == "testsuite"
|
||||||
%check
|
%check
|
||||||
%ocaml_dune_test
|
%ocaml_dune_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%build_flavor" == ""
|
||||||
%files -f %name.files
|
%files -f %name.files
|
||||||
|
|
||||||
%files devel -f %name.files.devel
|
%files devel -f %name.files.devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user