Hello community,

here is the log from the commit of package ocaml-re for openSUSE:Factory 
checked in at 2020-04-13 12:54:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-re (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-re.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-re"

Mon Apr 13 12:54:29 2020 rev:4 rq:793520 version:1.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-re/ocaml-re.changes        2019-02-20 
14:12:36.042914034 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-re.new.3248/ocaml-re.changes      
2020-04-13 12:54:38.332683456 +0200
@@ -1,0 +2,15 @@
+Sun Apr 12 12:12:12 UTC 2020 - [email protected]
+
+- use dune macros from ocaml-rpm-macros
+
+-------------------------------------------------------------------
+Mon Sep 23 16:35:39 UTC 2019 - [email protected]
+
+- Update to upstream release 1.9.0
+  * Fix regression in `Re.exec_partial`
+  * Mov gen related functions to `Re.Gen` and deprecate the old names
+  * Introduce `Re.View` that exposes the internal representation
+  * Fix index-out-of-bounds exception in Re.Perl.re
+  * Add seq based iterators
+
+-------------------------------------------------------------------

Old:
----
  ocaml-re-1.7.3.tar.gz

New:
----
  _service
  ocaml-re-1.9.0.tar.xz

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

Other differences:
------------------
++++++ ocaml-re.spec ++++++
--- /var/tmp/diff_new_pack.dnOFzY/_old  2020-04-13 12:54:40.028684194 +0200
+++ /var/tmp/diff_new_pack.dnOFzY/_new  2020-04-13 12:54:40.032684197 +0200
@@ -12,25 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           ocaml-re
-Version:        1.7.3
+Version:        1.9.0
 Release:        0
 %{?ocaml_preserve_bytecode}
 Summary:        Pure OCaml regular expressions
 License:        LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
 Group:          Development/Languages/OCaml
-Url:            https://github.com/ocaml/ocaml-re
-Source:         
https://github.com/ocaml/ocaml-re/archive/%{version}/%{name}-%{version}.tar.gz
+Url:            https://opam.ocaml.org/packages/re
+Source:         %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
 BuildRequires:  ocaml-dune
-BuildRequires:  ocaml-findlib
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 4.03
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ocaml-rpm-macros >= 20200220
+BuildRequires:  ocamlfind(oUnit)
+BuildRequires:  ocamlfind(seq)
+BuildRequires:  ocamlfind(str)
 
 %description
 Pure OCaml regular expressions, with support for Perl and POSIX-style strings.
@@ -44,59 +44,23 @@
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
 
-
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-dune build @install -p re
+dune_release_pkgs='re'
+%ocaml_dune_setup
+%ocaml_dune_build
 
 %install
-mkdir -p %{buildroot}%{_libdir}/ocaml
+%ocaml_dune_install
+%ocaml_create_file_list
+
+%check
+%ocaml_dune_test
+
+%files -f %{name}.files
 
-# do not use jbuilder install, which depends on opam-installer,
-# which is built from the opam package that depends on re.
-cp -rL _build/install/default/lib/* %{buildroot}%{_libdir}/ocaml
-
-%files
-%defattr(-,root,root)
-%doc README.md CHANGES.md
-%license LICENSE.md
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*/
-%dir %{_libdir}/ocaml/*/*/
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%{_libdir}/ocaml/*/*/*.cmxs
-%endif
-
-%files devel
-%defattr(-,root,root,-)
-%doc README.md CHANGES.md
-%license LICENSE.md
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*/
-%dir %{_libdir}/ocaml/*/*/
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.a
-%{_libdir}/ocaml/*/*/*.a
-%{_libdir}/ocaml/*/*.cmx
-%{_libdir}/ocaml/*/*/*.cmx
-%{_libdir}/ocaml/*/*.cmxa
-%{_libdir}/ocaml/*/*/*.cmxa
-%endif
-%{_libdir}/ocaml/*/opam
-%{_libdir}/ocaml/*/dune-package
-%{_libdir}/ocaml/*/*.cma
-%{_libdir}/ocaml/*/*/*.cma
-%{_libdir}/ocaml/*/*.cmi
-%{_libdir}/ocaml/*/*/*.cmi
-%{_libdir}/ocaml/*/*.cmt
-%{_libdir}/ocaml/*/*/*.cmt
-%{_libdir}/ocaml/*/*.cmti
-%{_libdir}/ocaml/*/*.ml
-%{_libdir}/ocaml/*/*/*.ml
-%{_libdir}/ocaml/*/*.mli
-%{_libdir}/ocaml/*/META
+%files devel -f %{name}.files.devel
 
 %changelog

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="filename">ocaml-re</param>
    <param name="revision">42c7f8899c9b1a4e011053487a97cf7eab312d5f</param>
    <param name="scm">git</param>
    <param name="submodules">disable</param>
    <param name="url">https://github.com/ocaml/ocaml-re.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>
    <param name="compression">xz</param>
  </service>
  <service name="set_version" mode="disabled"/>
</services>

Reply via email to