Hello community,

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

Package is "ocaml-camomile"

Mon Mar  9 14:13:18 2020 rev:5 rq:777966 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-camomile/ocaml-camomile.changes    
2019-11-12 16:11:36.591764639 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-camomile.new.26092/ocaml-camomile.changes 
2020-03-09 14:13:23.574506944 +0100
@@ -1,0 +2,7 @@
+Thu Feb 20 20:20:20 UTC 2020 - oher...@suse.de
+
+- Require current ocaml-rpm-macros
+- Remove zh__PINYIN locale in bytecode-only builds
+  code generator fails in bytecode with overflow
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ocaml-camomile.spec ++++++
--- /var/tmp/diff_new_pack.NtWO3E/_old  2020-03-09 14:13:24.318507434 +0100
+++ /var/tmp/diff_new_pack.NtWO3E/_new  2020-03-09 14:13:24.322507437 +0100
@@ -30,7 +30,7 @@
 Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-rpm-macros >= 20191101
+BuildRequires:  ocaml-rpm-macros >= 20200220
 BuildRequires:  ocamlfind(bigarray)
 BuildRequires:  ocamlfind(str)
 BuildRequires:  ocamlfind(unix)
@@ -63,6 +63,23 @@
 %autosetup -p1
 
 %build
+if test -z "$(type -P ocaml.opt)"
+then
+  rm -fv Camomile/locales/zh__PINYIN.txt
+  for i in Camomile/locales/*.txt
+  do
+    grep zh__PINYIN $i || continue
+    sed -i~ '
+    /zh__PINYIN/ d
+    ' $i
+    diff -u "$_"~ "$_" && exit 1
+  done
+  if pushd 'Camomile/locales'
+  then
+    ocaml dune_gen.ml > dune.inc
+    popd
+  fi
+fi
 dune_release_pkgs='camomile'
 %ocaml_dune_setup
 %ocaml_dune_build


Reply via email to