Hello community,
here is the log from the commit of package ocaml-jsonm for openSUSE:Factory checked in at 2019-11-11 21:25:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-jsonm (Old)
and /work/SRC/openSUSE:Factory/.ocaml-jsonm.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-jsonm"
Mon Nov 11 21:25:34 2019 rev:2 rq:746702 version:1.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-jsonm/ocaml-jsonm.changes 2018-05-08 13:37:15.981712528 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-jsonm.new.2990/ocaml-jsonm.changes 2019-11-11 21:25:37.179896346 +0100
@@ -1,0 +2,6 @@
+Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
+
+- Require current dune macros
+- Use _service file
+
+-------------------------------------------------------------------
Old:
----
jsonm-1.0.1.tbz
New:
----
_service
ocaml-jsonm-1.0.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ocaml-jsonm.spec ++++++
--- /var/tmp/diff_new_pack.dBixEo/_old 2019-11-11 21:25:38.151897231 +0100
+++ /var/tmp/diff_new_pack.dBixEo/_new 2019-11-11 21:25:38.175897253 +0100
@@ -12,11 +12,10 @@
# 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 jsonm
Name: ocaml-jsonm
Version: 1.0.1
Release: 0
@@ -25,13 +24,11 @@
License: ISC
Group: Development/Languages/OCaml
Url: http://erratique.ch/software/jsonm
-Source: http://erratique.ch/software/jsonm/releases/%{_name}-%{version}.tbz
+Source: %{name}-%{version}.tar.xz
BuildRequires: ocaml
-BuildRequires: ocaml-oasis
-BuildRequires: ocaml-ocamldoc
-BuildRequires: ocaml-rpm-macros >= 4.03
+BuildRequires: ocaml-dune
+BuildRequires: ocaml-rpm-macros >= 20191101
BuildRequires: ocamlfind(uutf)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Jsonm is an OCaml non-blocking streaming codec to decode and encode the JSON
@@ -51,68 +48,22 @@
developing applications that use %{name}.
%prep
-%setup -q -n %{_name}-%{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: jsonm
-Version: 0
-Synopsis: Non-blocking streaming JSON codec
-Authors: Daniel Bünzli