Hello community,

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

Package is "ocaml-cmdliner"

Tue Nov 12 16:11:37 2019 rev:2 rq:746693 version:1.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-cmdliner/ocaml-cmdliner.changes    
2018-04-30 22:53:05.981244411 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-cmdliner.new.2990/ocaml-cmdliner.changes  
2019-11-12 16:11:39.123767360 +0100
@@ -1,0 +2,9 @@
+Fri Nov  1 12:34:56 UTC 2019 - oher...@suse.de
+
+- Require current dune macros
+- Update to version 1.0.4
+  Change the way Error (_, e) term evaluation results are formatted.
+  Instead of treating e as text, treat it as formatted lines.
+  Add Term.with_used_args
+
+-------------------------------------------------------------------

Old:
----
  ocaml-cmdliner-1.0.2.tar.gz

New:
----
  ocaml-cmdliner-1.0.4.tar.xz

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

Other differences:
------------------
++++++ ocaml-cmdliner.spec ++++++
--- /var/tmp/diff_new_pack.bV3HC5/_old  2019-11-12 16:11:39.667767944 +0100
+++ /var/tmp/diff_new_pack.bV3HC5/_new  2019-11-12 16:11:39.667767944 +0100
@@ -12,24 +12,21 @@
 # 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-cmdliner
-Version:        1.0.2
+Version:        1.0.4
 Release:        0
 %{?ocaml_preserve_bytecode}
 License:        ISC
 Summary:        Declarative definition of command line interfaces for OCaml
 Url:            https://github.com/dbuenzli/cmdliner
 Group:          Development/Languages/OCaml
-Source:         
https://github.com/dbuenzli/cmdliner/archive/v%{version}/%{name}-%{version}.tar.gz
+Source:         %{name}-%{version}.tar.xz
 BuildRequires:  ocaml
-BuildRequires:  ocaml-oasis
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 4.03
-BuildRequires:  ocamlfind(result)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ocaml-dune
+BuildRequires:  ocaml-rpm-macros >= 20191101
 
 %description
 Cmdliner is a module for the declarative definition of command line interfaces.
@@ -49,70 +46,23 @@
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
 
-
 %prep
-%setup -q -n cmdliner-%{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:        cmdliner
-Version:     0
-Synopsis:    Declarative definition of command line interfaces for OCaml
-Authors:     Daniel Bünzli <daniel.buenzl i...@erratique.ch>
-License:     %{license}
-LicenseFile: LICENSE
-Plugins:     META(`oasis version`)
-BuildTools:  ocamlbuild
-
-Library cmdliner
- Path: src
- Install: true
- Modules: Cmdliner
- BuildDepends: bytes, result
-
-Document cmdliner
- Title:                API reference for cmdliner
- Type:                 ocamlbuild
- BuildTools+:          ocamldoc
- InstallDir:           \$htmldir
- Install:              true
- XOCamlbuildPath:      .
- XOCamlbuildLibraries: cmdliner
-_EOF_
-%oasis_setup
-%ocaml_oasis_configure --enable-docs
-%ocaml_oasis_build
-%ocaml_oasis_doc
+dune_release_pkgs='cmdliner'
+%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)
-%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
+%files devel -f %{name}.files.devel
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.bV3HC5/_old  2019-11-12 16:11:39.691767970 +0100
+++ /var/tmp/diff_new_pack.bV3HC5/_new  2019-11-12 16:11:39.691767970 +0100
@@ -1,9 +1,10 @@
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="url">git://github.com/dbuenzli/cmdliner.git</param>
+    <param name="url">https://github.com/dbuenzli/cmdliner.git</param>
     <param name="scm">git</param>
-    <param name="versionformat">1.0.0.%cd.%h</param>
-    <param name="revision">master</param>
+    <param name="versionformat">1.0.4</param>
+    <!-- v1.0.4 -->
+    <param name="revision">93ee8854625a312d9ce69f83398bbc1e8443402f</param>
     <param name="filename">ocaml-cmdliner</param>
   </service>
   <service name="recompress" mode="disabled">


Reply via email to