Hello community, here is the log from the commit of package ocaml-csv for openSUSE:Factory checked in at 2020-03-09 14:13:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-csv (Old) and /work/SRC/openSUSE:Factory/.ocaml-csv.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-csv" Mon Mar 9 14:13:23 2020 rev:3 rq:777967 version:2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-csv/ocaml-csv.changes 2017-08-24 18:53:19.333620048 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-csv.new.26092/ocaml-csv.changes 2020-03-09 14:13:28.486510182 +0100 @@ -1,0 +2,19 @@ +Thu Feb 20 20:20:20 UTC 2020 - oher...@suse.de + +- Update to 2.4 + Fixes the build on Windows with CRLF checkout. +- Require current ocaml-rpm-macros +- Build conditionally with ocaml-lwt + +------------------------------------------------------------------- +Fri Nov 1 12:34:56 UTC 2019 - oher...@suse.de + +- Require current dune macros +- Update to 2.3 + Use UTF-8 to determine column widths for the "readable" format. + Add deprecation attributes. + Fix alignment in csvtool usage message. + Improve the documentation of Csv.Rows.load and of_in_obj. + Split the package into csv and csv-lwt. + +------------------------------------------------------------------- Old: ---- ocaml-csv-1.7.tar.xz New: ---- ocaml-csv-2.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-csv.spec ++++++ --- /var/tmp/diff_new_pack.e1fjBc/_old 2020-03-09 14:13:29.330510739 +0100 +++ /var/tmp/diff_new_pack.e1fjBc/_new 2020-03-09 14:13:29.334510741 +0100 @@ -12,12 +12,14 @@ # 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/ # +%bcond_with ocaml_lwt + Name: ocaml-csv -Version: 1.7 +Version: 2.4 Release: 0 %{?ocaml_preserve_bytecode} Summary: OCaml library for reading and writing CSV files @@ -25,12 +27,17 @@ Group: Development/Languages/OCaml Url: https://github.com/Chris00/ocaml-csv Source0: %{name}-%{version}.tar.xz -BuildRequires: ocaml >= 4.00.1 -BuildRequires: ocaml-oasis -BuildRequires: ocaml-ocamldoc -BuildRequires: ocaml-rpm-macros >= 4.03 +BuildRequires: ocaml +BuildRequires: ocaml-dune +BuildRequires: ocaml-rpm-macros >= 20200220 BuildRequires: ocamlfind(bytes) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ocamlfind(str) +BuildRequires: ocamlfind(unix) +BuildRequires: ocamlfind(uutf) +%if %{with ocaml_lwt} +BuildRequires: ocamlfind(lwt) +BuildRequires: ocamlfind(lwt.unix) +%endif %description This OCaml library can read and write CSV files, including all @@ -50,47 +57,26 @@ developing applications that use %{name}. %prep -%setup -q +%autosetup -p1 %build -rm -fv setup.ml myocamlbuild.ml META* _tags */_* */META* -sed -i '/^Library csv_lwt/,/^$/d' _oasis -%oasis_setup -%ocaml_oasis_configure --enable-docs --disable-tests -%ocaml_oasis_build -%ocaml_oasis_doc +dune_release_pkgs='csv,csvtool' +%if %{with ocaml_lwt} +dune_release_pkgs="${dune_release_pkgs},csv-lwt" +%endif +%ocaml_dune_setup +%ocaml_dune_build %install -%ocaml_oasis_findlib_install +%ocaml_dune_install +%ocaml_create_file_list %check -%ocaml_oasis_test +%ocaml_dune_test -%files -%defattr(-,root,root,-) -%doc AUTHORS.txt LICENSE.txt README.txt -%{_bindir}/csvtool -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* - -%files devel -%defattr(-,root,root,-) -%doc LICENSE.txt -%{oasis_docdir_html} -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.a -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%{_libdir}/ocaml/*/*.cmxs -%endif -%{_libdir}/ocaml/*/*.annot -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/META +%files -f %{name}.files +%{_bindir}/* + +%files devel -f %{name}.files.devel %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.e1fjBc/_old 2020-03-09 14:13:29.362510759 +0100 +++ /var/tmp/diff_new_pack.e1fjBc/_new 2020-03-09 14:13:29.362510759 +0100 @@ -1,9 +1,10 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="url">git://github.com/Chris00/ocaml-csv.git</param> + <param name="url">https://github.com/Chris00/ocaml-csv.git</param> <param name="scm">git</param> - <param name="versionformat">1.7</param> - <param name="revision">1.7</param> + <param name="versionformat">@PARENT_TAG@</param> + <!-- 2.4+ --> + <param name="revision">d5de2aaef8755f1e70436c320c57f03633669455</param> <param name="filename">ocaml-csv</param> </service> <service name="recompress" mode="disabled"> ++++++ ocaml-csv-1.7.tar.xz -> ocaml-csv-2.4.tar.xz ++++++ ++++ 4457 lines of diff (skipped)