Hello community,

here is the log from the commit of package ocaml-uutf for openSUSE:Factory 
checked in at 2019-11-11 21:31:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-uutf (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-uutf.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-uutf"

Mon Nov 11 21:31:07 2019 rev:2 rq:746715 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-uutf/ocaml-uutf.changes    2018-04-30 
22:53:08.777142398 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-uutf.new.2990/ocaml-uutf.changes  
2019-11-11 21:31:08.440223204 +0100
@@ -1,0 +2,7 @@
+Fri Nov  1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+- Update to version 1.0.2, via _service file
+  Fix substring folding functionality.
+
+-------------------------------------------------------------------

Old:
----
  uutf-1.0.1.tbz

New:
----
  _service
  ocaml-uutf-1.0.2.tar.xz

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

Other differences:
------------------
++++++ ocaml-uutf.spec ++++++
--- /var/tmp/diff_new_pack.r548Un/_old  2019-11-11 21:31:08.900223694 +0100
+++ /var/tmp/diff_new_pack.r548Un/_new  2019-11-11 21:31:08.904223697 +0100
@@ -12,24 +12,22 @@
 # 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/
 #
 
 %define _name   uutf
 Name:           ocaml-uutf
-Version:        1.0.1
+Version:        1.0.2
 Release:        0
 %{?ocaml_preserve_bytecode}
 Summary:        Non-blocking streaming Unicode codec for OCaml
 License:        ISC
 Group:          Development/Languages/OCaml
 Url:            http://erratique.ch/software/uutf
-Source:         http://erratique.ch/software/uutf/releases/uutf-%{version}.tbz
+Source:         %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
-BuildRequires:  ocaml-oasis
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 4.03
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ocaml-dune
+BuildRequires:  ocaml-rpm-macros >= 20191101
 
 %description
 Uutf is a non-blocking streaming codec to decode and encode the UTF-8,
@@ -51,67 +49,22 @@
 developing applications that use %{name}.
 
 %prep
-%setup -q -n uutf-%{version}
+%autosetup -p1
 
 %build
-rm -fv setup.ml myocamlbuild.ml META* _* */_* 
-# obs service changes every ^Version line ...
-sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_
-OASISFormat: 0.4
-Name:        uutf
-Version:     0
-Synopsis:    Non-blocking streaming Unicode codec
-Authors:     Daniel Bünzli <daniel.buenzl [email protected]>
-License:     %{license}
-LicenseFile: LICENSE.md
-Plugins:     META(`oasis version`)
-BuildTools:  ocamlbuild
-
-Library uutf
- Path: src
- Install: true
- Modules: Uutf
-
-Document uutf
- Title:                API reference for uutf
- Type:                 ocamlbuild
- BuildTools+:          ocamldoc
- InstallDir:           \$htmldir
- Install:              true
- XOCamlbuildPath:      .
- XOCamlbuildLibraries: uutf
-_EOF_
-%oasis_setup
-%ocaml_oasis_configure --enable-docs
-%ocaml_oasis_build
-%ocaml_oasis_doc
+dune_release_pkgs='uutf'
+%ocaml_dune_setup
+%ocaml_dune_build
 
 %install
-%ocaml_oasis_findlib_install
+%ocaml_dune_install
+%ocaml_create_file_list
 
-%files
-%defattr(-,root,root)
-%dir %{_libdir}/ocaml
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.cmxs
-%endif
-
-%files devel
-%defattr(-,root,root,-)
-%{oasis_docdir_html}
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.a
-%{_libdir}/ocaml/*/*.cmx
-%{_libdir}/ocaml/*/*.cmxa
-%endif
-%{_libdir}/ocaml/*/*.annot
-%{_libdir}/ocaml/*/*.cma
-%{_libdir}/ocaml/*/*.cmi
-%{_libdir}/ocaml/*/*.cmt
-%{_libdir}/ocaml/*/*.cmti
-%{_libdir}/ocaml/*/*.mli
-%{_libdir}/ocaml/*/META
+%check
+%ocaml_dune_test
+
+%files -f %{name}.files
+
+%files devel -f %{name}.files.devel
 
 %changelog

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">https://github.com/dune-universe/uutf.git</param>
    <param name="scm">git</param>
    <param name="versionformat">1.0.2</param>
    <param name="revision">duniverse-v1.0.2</param>
    <param name="filename">ocaml-uutf</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