commit ocaml-xml-light for openSUSE:Factory

2019-11-12 Thread root
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 - oher...@suse.de
+
+- 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 
-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 <<123/>
+%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 @@
 
   
-git://github.com/gasche/xml-light.git
+ocaml-xml-light
+dune
 git
+https://github.com/olafhering/ocaml-xml-light.git
 2.4.%cd.%h
-break-cycles
-xml-light
   
   
 *.tar




commit ocaml-xml-light for openSUSE:Factory

2017-08-18 Thread root
Hello community,

here is the log from the commit of package ocaml-xml-light for openSUSE:Factory 
checked in at 2017-08-18 15:02:30

Comparing /work/SRC/openSUSE:Factory/ocaml-xml-light (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-xml-light.new (New)


Package is "ocaml-xml-light"

Fri Aug 18 15:02:30 2017 rev:3 rq:512541 version:2.4.20160613.2bc42e8

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-xml-light/ocaml-xml-light.changes  
2017-06-09 15:56:54.543889303 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-xml-light.new/ocaml-xml-light.changes 
2017-08-18 15:02:30.734135052 +0200
@@ -1,0 +2,15 @@
+Tue Jul 25 13:04:54 UTC 2017 - oher...@suse.de
+
+- Use Group: Development/Languages/OCaml
+
+---
+Mon Jul 17 12:48:58 UTC 2017 - oher...@suse.de
+
+- Wrap specfile conditionals to fix quilt setup
+
+---
+Mon Jul 17 10:48:58 UTC 2017 - oher...@suse.de
+
+- Remove autodeps for pre openSUSE 12.1 releases
+
+---



Other differences:
--
++ ocaml-xml-light.spec ++
--- /var/tmp/diff_new_pack.jjPjhs/_old  2017-08-18 15:02:31.530023014 +0200
+++ /var/tmp/diff_new_pack.jjPjhs/_new  2017-08-18 15:02:31.538021889 +0200
@@ -19,10 +19,10 @@
 Name:   ocaml-xml-light
 Version:2.4.20160613.2bc42e8
 Release:0
-%{ocaml_preserve_bytecode}
+%{?ocaml_preserve_bytecode}
 Summary:Minimal XML parser and printer for OCaml
 License:LGPL-2.1+
-Group:  Development/Libraries/Other
+Group:  Development/Languages/OCaml
 Url:https://github.com/gasche/xml-light
 Source0:xml-light-%{version}.tar.xz
 BuildRequires:  ocaml
@@ -30,12 +30,6 @@
 BuildRequires:  ocaml-ocamldoc
 BuildRequires:  ocaml-rpm-macros >= 4.03
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# ocaml autodep start for pkg: ocaml-xml-light
-# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
-%if 0%{?suse_version} < 1210
-Requires:   ocaml-runtime
-%endif
-# ocaml autodep end for pkg: ocaml-xml-light
 
 %description
 Xml-Light is a minimal XML parser & printer for OCaml. It provides
@@ -46,7 +40,7 @@
 
 %packagedevel
 Summary:Development files for %{name}
-Group:  Development/Libraries/Other
+Group:  Development/Languages/OCaml
 Requires:   %{name} = %{version}
 
 %descriptiondevel
@@ -114,7 +108,7 @@
 %defattr(-,root,root,-)
 %dir %{_libdir}/ocaml
 %dir %{_libdir}/ocaml/*
-%if %{ocaml_native_compiler}
+%if 0%{?ocaml_native_compiler}
 %{_libdir}/ocaml/*/*.cmxs
 %endif
 
@@ -123,7 +117,7 @@
 %{oasis_docdir_html}
 %dir %{_libdir}/ocaml
 %dir %{_libdir}/ocaml/*
-%if %{ocaml_native_compiler}
+%if 0%{?ocaml_native_compiler}
 %{_libdir}/ocaml/*/*.a
 %{_libdir}/ocaml/*/*.cmx
 %{_libdir}/ocaml/*/*.cmxa




commit ocaml-xml-light for openSUSE:Factory

2017-06-09 Thread root
Hello community,

here is the log from the commit of package ocaml-xml-light for openSUSE:Factory 
checked in at 2017-06-09 15:56:47

Comparing /work/SRC/openSUSE:Factory/ocaml-xml-light (Old)
 and  /work/SRC/openSUSE:Factory/.ocaml-xml-light.new (New)


Package is "ocaml-xml-light"

Fri Jun  9 15:56:47 2017 rev:2 rq:501608 version:2.4.20160613.2bc42e8

Changes:

--- /work/SRC/openSUSE:Factory/ocaml-xml-light/ocaml-xml-light.changes  
2016-10-19 12:59:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-xml-light.new/ocaml-xml-light.changes 
2017-06-09 15:56:54.543889303 +0200
@@ -1,0 +2,5 @@
+Wed May 31 07:07:33 UTC 2017 - o...@aepfle.de
+
+- Replace tabs with spaces in generated _oasis file
+
+---



Other differences:
--
++ ocaml-xml-light.spec ++
--- /var/tmp/diff_new_pack.z4xukN/_old  2017-06-09 15:56:56.187657298 +0200
+++ /var/tmp/diff_new_pack.z4xukN/_new  2017-06-09 15:56:56.187657298 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-xml-light
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -63,11 +63,11 @@
 OASISFormat: 0.4
 Name:xml-light
 Version: %{version}
+Synopsis:Minimal XML parser and printer for OCaml
 Authors: Nicolas Cannasse 
-License: LGPL-2.1+
+License: %{license}
 Plugins: META(`oasis version`)
 BuildTools:  ocamlbuild
-Synopsis:Minimal XML parser and printer for OCaml
 
 Library "xml-light"
   Path: .