diff --git a/_service b/_service index 260d725..6cb3e9a 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ ocaml-stdcompat - 014ff59eee0e6014dd5e832b9c7ae645ef4a6397 + 89fe38402acf7bc6d63b32b9da22d9906391d7cb git disable https://github.com/thierry-martinez/stdcompat.git diff --git a/ocaml-stdcompat-18.tar.xz b/ocaml-stdcompat-18.tar.xz deleted file mode 100644 index 54195da..0000000 --- a/ocaml-stdcompat-18.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:023c94ce25895359116540b03b54fa49619a5e0833f85a0bd9a76c3e709ead2d -size 128808 diff --git a/ocaml-stdcompat-19.tar.xz b/ocaml-stdcompat-19.tar.xz new file mode 100644 index 0000000..71ce3da --- /dev/null +++ b/ocaml-stdcompat-19.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:767f28362ee54bd57d598ed0424d154fffe5af6ece49d91439e3f1b6726edbb7 +size 128172 diff --git a/ocaml-stdcompat.changes b/ocaml-stdcompat.changes index bcdcdc0..b553296 100644 --- a/ocaml-stdcompat.changes +++ b/ocaml-stdcompat.changes @@ -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 diff --git a/ocaml-stdcompat.spec b/ocaml-stdcompat.spec index 5c1c690..425b186 100644 --- a/ocaml-stdcompat.spec +++ b/ocaml-stdcompat.spec @@ -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