Accepting request 986060 from devel:languages:ocaml

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/986060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-stdcompat?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2022-07-01 11:45:00 +00:00 committed by Git OBS Bridge
commit e9a6bb15ec
5 changed files with 18 additions and 15 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-stdcompat</param>
<param name="revision">014ff59eee0e6014dd5e832b9c7ae645ef4a6397</param>
<param name="revision">89fe38402acf7bc6d63b32b9da22d9906391d7cb</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/thierry-martinez/stdcompat.git</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:023c94ce25895359116540b03b54fa49619a5e0833f85a0bd9a76c3e709ead2d
size 128808

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:767f28362ee54bd57d598ed0424d154fffe5af6ece49d91439e3f1b6726edbb7
size 128172

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 22 22:22:22 UTC 2022 - ohering@suse.de
- Update to version 19
Support for OCaml 5.0
-------------------------------------------------------------------
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de

View File

@ -16,9 +16,8 @@
#
%define _lto_cflags %nil
Name: ocaml-stdcompat
Version: 18
Version: 19
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Stdcompat: compatibility module for OCaml standard library
@ -30,9 +29,9 @@ Source1: %name-rpmlintrc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bash
BuildRequires: ocamlfind(findlib)
BuildRequires: ocaml-rpm-macros >= 20220222
BuildRequires: ocaml(ocaml.opt)
BuildRequires: ocaml
BuildRequires: ocaml-dune >= 2.0
BuildRequires: ocaml-rpm-macros >= 20220409
%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.
@ -50,14 +49,12 @@ developing applications that use %name.
%autosetup -p1
%build
%make_build -f Makefile.bootstrap
%configure \
--libdir=%ocaml_standard_library
%make_build -j1
dune_release_pkgs='stdcompat'
%ocaml_dune_setup
%ocaml_dune_build
%install
%make_install
find %buildroot -type f -exec chmod -v 644 '{}' +
%ocaml_dune_install
%ocaml_create_file_list
%files -f %name.files