Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ocaml-ppx_variants_conv for 
openSUSE:Factory checked in at 2021-09-29 20:18:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-ppx_variants_conv (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-ppx_variants_conv.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-ppx_variants_conv"

Wed Sep 29 20:18:34 2021 rev:2 rq:921277 version:0.14.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ocaml-ppx_variants_conv/ocaml-ppx_variants_conv.changes
  2021-04-29 01:37:53.310534905 +0200
+++ 
/work/SRC/openSUSE:Factory/.ocaml-ppx_variants_conv.new.1899/ocaml-ppx_variants_conv.changes
        2021-09-29 20:19:39.555053272 +0200
@@ -1,0 +2,5 @@
+Sat Sep 11 12:34:56 UTC 2021 - oher...@suse.de
+
+- Add ocaml-ppx_variants_conv.patch for compatibility with ppxlib 0.23
+
+-------------------------------------------------------------------

New:
----
  ocaml-ppx_variants_conv.patch

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

Other differences:
------------------
++++++ ocaml-ppx_variants_conv.spec ++++++
--- /var/tmp/diff_new_pack.CfLUjH/_old  2021-09-29 20:19:39.955053853 +0200
+++ /var/tmp/diff_new_pack.CfLUjH/_new  2021-09-29 20:19:39.959053858 +0200
@@ -26,8 +26,9 @@
 BuildRoot:      %_tmppath/%name-%version-build
 URL:            https://opam.ocaml.org/packages/ppx_variants_conv
 Source0:        %{name}-%{version}.tar.xz
+Patch0:         ocaml-ppx_variants_conv.patch
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-rpm-macros >= 20210409
+BuildRequires:  ocaml-rpm-macros >= 20210911
 BuildRequires:  ocaml(ocaml_base_version) >= 4.04
 BuildRequires:  ocamlfind(base)
 BuildRequires:  ocamlfind(ppxlib)
@@ -55,7 +56,7 @@
 developing applications that use %{name}.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 dune_release_pkgs='ppx_variants_conv'

++++++ ocaml-ppx_variants_conv-0.14.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-ppx_variants_conv-0.14.1/.gitignore 
new/ocaml-ppx_variants_conv-0.14.1/.gitignore
--- old/ocaml-ppx_variants_conv-0.14.1/.gitignore       1970-01-01 
01:00:00.000000000 +0100
+++ new/ocaml-ppx_variants_conv-0.14.1/.gitignore       2020-08-21 
20:19:35.000000000 +0200
@@ -0,0 +1,5 @@
+_build
+*.install
+*.merlin
+_opam
+

++++++ ocaml-ppx_variants_conv.patch ++++++
https://github.com/janestreet/ppx_variants_conv/pull/9
--- a/src/ppx_variants_conv.ml
+++ b/src/ppx_variants_conv.ml
@@ -66,7 +66,7 @@ end
 
 let variant_name_to_string v =
   let s = String.lowercase v in
-  if Caml.Hashtbl.mem Lexer.keyword_table s
+  if Keyword.is_keyword s
   then s ^ "_"
   else s
 

Reply via email to