- Update to version 20210924
build with dune OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pyml?expand=0&rev=13
This commit is contained in:
parent
e56c217295
commit
df8b500ba4
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">b6608db88f0559f7e59b9be859a649f5bb6812b7</param>
|
<param name="revision">5c61e0e898a9a6a2794d9c3e26484650f8c1dec6</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:688e415142f6463d48ecbede0887863bb843b766d15afe173ad9ceabb21450f5
|
|
||||||
size 67572
|
|
3
ocaml-pyml-20210924.tar.xz
Normal file
3
ocaml-pyml-20210924.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c4064515e7b8ab300433c61f20af7703d3fffd587bff084a632a7f490574b3a9
|
||||||
|
size 69236
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de
|
||||||
|
|
||||||
|
- Update to version 20210924
|
||||||
|
build with dune
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 15 15:15:15 UTC 2021 - ohering@suse.de
|
Tue Jun 15 15:15:15 UTC 2021 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ocaml-pyml
|
# spec file for package ocaml-pyml
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 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,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: ocaml-pyml
|
Name: ocaml-pyml
|
||||||
Version: 20210226
|
Version: 20210924
|
||||||
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
|
||||||
@ -25,10 +25,9 @@ Group: Development/Languages/OCaml
|
|||||||
URL: https://opam.ocaml.org/packages/pyml
|
URL: https://opam.ocaml.org/packages/pyml
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
#uildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-rpm-macros >= 20210409
|
BuildRequires: ocaml-rpm-macros >= 20210911
|
||||||
BuildRequires: ocamlfind(bigarray)
|
BuildRequires: ocamlfind(bigarray)
|
||||||
BuildRequires: ocamlfind(findlib)
|
|
||||||
BuildRequires: ocamlfind(stdcompat)
|
BuildRequires: ocamlfind(stdcompat)
|
||||||
BuildRequires: ocamlfind(unix)
|
BuildRequires: ocamlfind(unix)
|
||||||
# make check
|
# make check
|
||||||
@ -56,33 +55,17 @@ developing applications that use %{name}.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i~ '
|
ocamlc -config
|
||||||
s@^\(HAVE_OCAMLFIND := $(shell \).*@\1 set -x ; \\@
|
|
||||||
s@2>&1@@g
|
|
||||||
' Makefile
|
|
||||||
diff -u "$_"~ "$_" && exit 1
|
|
||||||
%make_build
|
|
||||||
%if 0
|
|
||||||
dune_release_pkgs='pyml'
|
dune_release_pkgs='pyml'
|
||||||
%ocaml_dune_setup
|
%ocaml_dune_setup
|
||||||
%ocaml_dune_build
|
%ocaml_dune_build
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -vp '%{buildroot}%{ocaml_standard_library}'
|
|
||||||
export OCAMLFIND_DESTDIR='%{buildroot}%{ocaml_standard_library}'
|
|
||||||
export OCAMLFIND_LDCONF='ignore'
|
|
||||||
%make_install STDCOMPAT="$(ocamlfind query stdcompat)"
|
|
||||||
%ocaml_create_file_list
|
|
||||||
%if 0
|
|
||||||
%ocaml_dune_install
|
%ocaml_dune_install
|
||||||
%ocaml_create_file_list
|
%ocaml_create_file_list
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0
|
|
||||||
%ocaml_dune_test
|
%ocaml_dune_test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user