Hello community,
here is the log from the commit of package ocaml-xml-light for openSUSE:Factory
checked in at 2019-11-12 16:12:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-xml-light (Old)
and /work/SRC/openSUSE:Factory/.ocaml-xml-light.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-xml-light"
Tue Nov 12 16:12:22 2019 rev:4 rq:747696 version:2.4.20191104.4615265
Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-xml-light/ocaml-xml-light.changes
2017-08-18 15:02:30.734135052 +0200
+++
/work/SRC/openSUSE:Factory/.ocaml-xml-light.new.2990/ocaml-xml-light.changes
2019-11-12 16:12:24.155815755 +0100
@@ -1,0 +2,6 @@
+Fri Nov 1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+- Update to 2.4.20191020.4143835 from dune branch
+
+-------------------------------------------------------------------
Old:
----
xml-light-2.4.20160613.2bc42e8.tar.xz
New:
----
ocaml-xml-light-2.4.20191104.4615265.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ocaml-xml-light.spec ++++++
--- /var/tmp/diff_new_pack.yhse3H/_old 2019-11-12 16:12:24.815816464 +0100
+++ /var/tmp/diff_new_pack.yhse3H/_new 2019-11-12 16:12:24.815816464 +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/
#
Name: ocaml-xml-light
-Version: 2.4.20160613.2bc42e8
+Version: 2.4.20191104.4615265
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Minimal XML parser and printer for OCaml
License: LGPL-2.1+
Group: Development/Languages/OCaml
Url: https://github.com/gasche/xml-light
-Source0: xml-light-%{version}.tar.xz
+Source0: %{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
Xml-Light is a minimal XML parser & printer for OCaml. It provides
@@ -48,86 +46,22 @@
developing applications that use %{name}.
%prep
-%setup -q -n xml-light-%{version}
+%autosetup -p1
%build
-rm -fv META*
-# obs service changes every ^Version line ...
-sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_
-OASISFormat: 0.4
-Name: xml-light
-Version: %{version}
-Synopsis: Minimal XML parser and printer for OCaml
-Authors: Nicolas Cannasse <[email protected]>
-License: %{license}
-Plugins: META(`oasis version`)
-BuildTools: ocamlbuild
-
-Library "xml-light"
- Path: .
- Modules: Xml, Xml_light_types
-
-Document "xml-light"
- Title: API reference for xml-light
- Type: ocamlbuild
- BuildTools+: ocamldoc
- InstallDir: \$htmldir
- Install: true
- XOCamlbuildPath: .
- XOCamlbuildLibraries: xml-light
-
-Executable test
- Install: false
- Path: .
- MainIs: test.ml
- CompiledObject: best
- BuildDepends: xml-light
-
-Test "test"
- Type: Custom (0.0.1)
- Command: \$test < x
- Run: true
-_EOF_
-
-%oasis_setup
-%ocaml_oasis_configure --enable-docs --enable-tests
-%ocaml_oasis_build
-%ocaml_oasis_doc
+dune_release_pkgs='xml-light'
+%ocaml_dune_setup
+%ocaml_dune_build
%install
-%ocaml_oasis_findlib_install
+%ocaml_dune_install
+%ocaml_create_file_list
%check
-tee x <<EOF
-<abc><123/></abc>
+%ocaml_dune_test
-EOF
-%ocaml_oasis_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
-%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.yhse3H/_old 2019-11-12 16:12:24.843816494 +0100
+++ /var/tmp/diff_new_pack.yhse3H/_new 2019-11-12 16:12:24.847816498 +0100
@@ -1,10 +1,10 @@
<services>
<service name="tar_scm" mode="disabled">
- <param name="url">git://github.com/gasche/xml-light.git</param>
+ <param name="filename">ocaml-xml-light</param>
+ <param name="revision">dune</param>
<param name="scm">git</param>
+ <param name="url">https://github.com/olafhering/ocaml-xml-light.git</param>
<param name="versionformat">2.4.%cd.%h</param>
- <param name="revision">break-cycles</param>
- <param name="filename">xml-light</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>