Hello community,

here is the log from the commit of package ocaml-benchmark for openSUSE:Factory 
checked in at 2019-11-27 13:52:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-benchmark (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-benchmark.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-benchmark"

Wed Nov 27 13:52:23 2019 rev:2 rq:746690 version:1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-benchmark/ocaml-benchmark.changes  
2018-03-08 10:56:54.810602878 +0100
+++ 
/work/SRC/openSUSE:Factory/.ocaml-benchmark.new.26869/ocaml-benchmark.changes   
    2019-11-27 13:52:37.464405838 +0100
@@ -1,0 +2,9 @@
+Fri Nov  1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+- Update to version 1.6, via _service file
+  Fix some typos in the documentation.
+  Add option --all to the Tree.arg.
+  Fix uncaught exception in Tree.run_global.
+
+-------------------------------------------------------------------

Old:
----
  ocaml-benchmark-1.4.tar.gz

New:
----
  _service
  ocaml-benchmark-1.6.tar.xz

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

Other differences:
------------------
++++++ ocaml-benchmark.spec ++++++
--- /var/tmp/diff_new_pack.6BKad3/_old  2019-11-27 13:52:38.376405081 +0100
+++ /var/tmp/diff_new_pack.6BKad3/_new  2019-11-27 13:52:38.380405078 +0100
@@ -12,85 +12,53 @@
 # 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-benchmark
-Version:        1.4
+Version:        1.6
 Release:        0
 %{?ocaml_preserve_bytecode}
 Summary:        Benchmarking module for OCaml
 License:        LGPL-3.0-or-later WITH OCaml-linking-exception
 Group:          Development/Languages/OCaml
-
-URL:            http://ocaml-benchmark.forge.ocamlcore.org/
-Source0:        
https://github.com/Chris00/ocaml-benchmark/archive/%{version}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+URL:            https://github.com/Chris00/ocaml-benchmark
+Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
-BuildRequires:  ocaml-oasis
-BuildRequires:  ocaml-ocamlbuild
-BuildRequires:  ocaml-findlib
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros
+BuildRequires:  ocaml-dune
+BuildRequires:  ocaml-rpm-macros >= 20191101
+BuildRequires:  ocamlfind(unix)
 
 %description
 Benchmark provides functions to measure and compare the run-time of functions.
 It is inspired by the Perl module of the same name.
 
-
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Languages/OCaml
 Requires:       %{name} = %{version}
 
-
 %description    devel
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
 
-
 %prep
-%setup -q -n %{name}-%{version}
-
+%autosetup -p1
 
 %build
-%oasis_setup
-%ocaml_oasis_configure --enable-docs
-%ocaml_oasis_build
-%ocaml_oasis_doc
-
+dune_release_pkgs='benchmark'
+%ocaml_dune_setup
+%ocaml_dune_build
 
 %install
-%ocaml_oasis_findlib_install
+%ocaml_dune_install
+%ocaml_create_file_list
+
+%check
+%ocaml_dune_test
 
+%files -f %{name}.files
 
-%files
-%defattr(-,root,root,-)
-%doc README.md LICENSE.txt
-%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
-%dir %{_libdir}/ocaml/*
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/*/*.a
-%{_libdir}/ocaml/*/*.cmx
-%{_libdir}/ocaml/*/*.cmxa
-%endif
-%{_libdir}/ocaml/*/*.mli
-%{_libdir}/ocaml/*/*.annot
-%{_libdir}/ocaml/*/*.cma
-%{_libdir}/ocaml/*/*.cmi
-%{_libdir}/ocaml/*/*.cmt
-%{_libdir}/ocaml/*/*.cmti
-%{_libdir}/ocaml/*/META
+%files devel -f %{name}.files.devel
 
 %changelog

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">https://github.com/Chris00/ocaml-benchmark.git</param>
    <param name="scm">git</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <!-- 1.6 -->
    <param name="revision">551488e70bd2ba063fbe5c720ff51afb328e1bcf</param>
    <param name="filename">ocaml-benchmark</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