Hello community,

here is the log from the commit of package ocaml-sexplib0 for openSUSE:Factory 
checked in at 2020-03-09 14:13:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-sexplib0 (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-sexplib0.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-sexplib0"

Mon Mar  9 14:13:35 2020 rev:3 rq:777981 version:0.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-sexplib0/ocaml-sexplib0.changes    
2019-11-11 21:29:45.748135301 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-sexplib0.new.26092/ocaml-sexplib0.changes 
2020-03-09 14:13:41.158518536 +0100
@@ -1,0 +2,6 @@
+Thu Feb 20 20:20:20 UTC 2020 - [email protected]
+
+- Update to version 0.13.0
+- Require current ocaml-rpm-macros
+
+-------------------------------------------------------------------

Old:
----
  ocaml-sexplib0-0.12.0.tar.xz

New:
----
  ocaml-sexplib0-0.13.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-sexplib0.spec ++++++
--- /var/tmp/diff_new_pack.Yag00W/_old  2020-03-09 14:13:41.862519001 +0100
+++ /var/tmp/diff_new_pack.Yag00W/_new  2020-03-09 14:13:41.874519008 +0100
@@ -17,17 +17,17 @@
 
 
 Name:           ocaml-sexplib0
-Version:        0.12.0
+Version:        0.13.0
 Release:        0
 %{?ocaml_preserve_bytecode}
 Summary:        Library containing the definition of S-expressions and some 
base converters
 License:        MIT
 Group:          Development/Languages/OCaml
-Url:            https://github.com/janestreet/sexplib0
+Url:            https://opam.ocaml.org/packages/sexplib0
 Source:         %{name}-%{version}.tar.xz
-BuildRequires:  ocaml
+BuildRequires:  ocaml(ocaml_base_version) >= 4.04
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-rpm-macros >= 20191101
+BuildRequires:  ocaml-rpm-macros >= 20200220
 
 %description
 Library containing the definition of S-expressions and some base converters.

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Yag00W/_old  2020-03-09 14:13:41.894519022 +0100
+++ /var/tmp/diff_new_pack.Yag00W/_new  2020-03-09 14:13:41.898519024 +0100
@@ -1,10 +1,13 @@
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="url">git://github.com/janestreet/sexplib0.git</param>
-    <param name="scm">git</param>
-    <param name="versionformat">0.12.0</param>
-    <param name="revision">v0.12.0</param>
     <param name="filename">ocaml-sexplib0</param>
+    <param name="revision">659d33a4a23d86d86114829a05275f70a6dc79fe</param>
+    <param name="scm">git</param>
+    <param name="submodules">disable</param>
+    <param name="url">https://github.com/janestreet/sexplib0.git</param>
+    <param name="versionformat">@PARENT_TAG@</param>
+    <param name="versionrewrite-pattern">[v]?([^+]+)(.*)</param>
+    <param name="versionrewrite-replacement">\1</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">*.tar</param>

++++++ ocaml-sexplib0-0.12.0.tar.xz -> ocaml-sexplib0-0.13.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sexplib0-0.12.0/sexp_conv.ml 
new/ocaml-sexplib0-0.13.0/sexp_conv.ml
--- old/ocaml-sexplib0-0.12.0/sexp_conv.ml      2019-02-13 11:33:20.000000000 
+0100
+++ new/ocaml-sexplib0-0.13.0/sexp_conv.ml      2019-11-18 15:56:06.000000000 
+0100
@@ -98,14 +98,23 @@
 
   module Exn_ids = Map.Make (Int)
 
+  module Obj = struct
+    module Extension_constructor = struct
+      [@@@ocaml.warning "-3"]
+      type t = extension_constructor
+      let id = Obj.extension_id
+      let of_val = Obj.extension_constructor
+    end
+  end
+
   let exn_id_map
-    : (extension_constructor, exn -> Sexp.t) Ephemeron.K1.t Exn_ids.t ref =
+    : (Obj.Extension_constructor.t, exn -> Sexp.t) Ephemeron.K1.t Exn_ids.t 
ref =
     ref Exn_ids.empty
 
   (* [Obj.extension_id] works on both the exception itself, and the extension 
slot of the
      exception. *)
-  let rec clean_up_handler (slot : extension_constructor) =
-    let id = Obj.extension_id slot in
+  let rec clean_up_handler (slot : Obj.Extension_constructor.t) =
+    let id = Obj.Extension_constructor.id slot in
     let old_exn_id_map = !exn_id_map in
     let new_exn_id_map = Exn_ids.remove id old_exn_id_map in
     (* This trick avoids mutexes and should be fairly efficient *)
@@ -117,7 +126,7 @@
   (* Ephemerons are used so that [sexp_of_exn] closure don't keep the
      extension_constructor live. *)
   let add ?(finalise = true) extension_constructor sexp_of_exn =
-    let id = Obj.extension_id extension_constructor in
+    let id = Obj.Extension_constructor.id extension_constructor in
     let rec loop () =
       let old_exn_id_map = !exn_id_map in
       let ephe = Ephemeron.K1.create () in
@@ -140,10 +149,10 @@
     loop ()
 
   let add_auto ?finalise exn sexp_of_exn =
-    add ?finalise (Obj.extension_constructor exn) sexp_of_exn
+    add ?finalise (Obj.Extension_constructor.of_val exn) sexp_of_exn
 
   let find_auto exn =
-    let id = Obj.extension_id (Obj.extension_constructor exn) in
+    let id = Obj.Extension_constructor.id (Obj.Extension_constructor.of_val 
exn) in
     match Exn_ids.find id !exn_id_map with
     | exception Not_found -> None
     | ephe ->
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sexplib0-0.12.0/sexp_conv.mli 
new/ocaml-sexplib0-0.13.0/sexp_conv.mli
--- old/ocaml-sexplib0-0.12.0/sexp_conv.mli     2019-02-13 11:33:20.000000000 
+0100
+++ new/ocaml-sexplib0-0.13.0/sexp_conv.mli     2019-11-18 15:56:06.000000000 
+0100
@@ -2,10 +2,15 @@
 
 (** Dummy definitions for "optional" options, lists, and for opaque types *)
 type sexp_bool = bool
+[@@deprecated "[since 2019-03] use [@sexp.bool] instead"]
 type 'a sexp_option = 'a option
+[@@deprecated "[since 2019-03] use [@sexp.option] instead"]
 type 'a sexp_list = 'a list
+[@@deprecated "[since 2019-03] use [@sexp.list] instead"]
 type 'a sexp_array = 'a array
+[@@deprecated "[since 2019-03] use [@sexp.array] instead"]
 type 'a sexp_opaque = 'a
+[@@deprecated "[since 2019-03] use [@sexp.opaque] instead"]
 
 (** {6 Conversion of OCaml-values to S-expressions} *)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sexplib0-0.12.0/sexplib0.opam 
new/ocaml-sexplib0-0.13.0/sexplib0.opam
--- old/ocaml-sexplib0-0.12.0/sexplib0.opam     2019-02-13 11:33:20.000000000 
+0100
+++ new/ocaml-sexplib0-0.13.0/sexplib0.opam     2019-11-18 15:56:06.000000000 
+0100
@@ -1,5 +1,5 @@
 opam-version: "2.0"
-version: "v0.12.0"
+version: "v0.13.0"
 maintainer: "[email protected]"
 authors: ["Jane Street Group, LLC <[email protected]>"]
 homepage: "https://github.com/janestreet/sexplib0";
@@ -12,7 +12,7 @@
 ]
 depends: [
   "ocaml" {>= "4.04.2"}
-  "dune"  {build & >= "1.5.1"}
+  "dune"  {>= "1.5.1"}
 ]
 synopsis: "Library containing the definition of S-expressions and some base 
converters"
 description: "


Reply via email to