Hello community, here is the log from the commit of package ocaml-result for openSUSE:Factory checked in at 2019-10-24 23:02:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-result (Old) and /work/SRC/openSUSE:Factory/.ocaml-result.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-result" Thu Oct 24 23:02:11 2019 rev:3 rq:735920 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-result/ocaml-result.changes 2019-09-07 11:52:49.402279290 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-result.new.2990/ocaml-result.changes 2019-10-24 23:02:12.768036016 +0200 @@ -1,0 +2,5 @@ +Mon Sep 30 12:34:56 UTC 2019 - [email protected] + +- use dune macros from ocaml-rpm-macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-result.spec ++++++ --- /var/tmp/diff_new_pack.R5p6y1/_old 2019-10-24 23:02:13.340036673 +0200 +++ /var/tmp/diff_new_pack.R5p6y1/_new 2019-10-24 23:02:13.344036677 +0200 @@ -28,7 +28,7 @@ Source0: %{url}/archive/%{version}/%{_name}-%{version}.tar.gz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 4.03 +BuildRequires: ocaml-rpm-macros >= 20190930 %description Projects that want to use the new result type defined in OCaml >= 4.03 while @@ -51,33 +51,20 @@ %setup -q -n %{_name}-%{version} %build -dune build @install --profile=release +%ocaml_dune_setup +%ocaml_dune_build %install -dune install --prefix=%{buildroot}%{_prefix} --libdir=%{buildroot}%{_libdir}/ocaml -rm -r %{buildroot}%{_prefix}/doc +%ocaml_dune_install +%ocaml_create_file_list -%files -%doc CHANGES.md README.md +%check +%ocaml_dune_test || : make check failed + +%files -f %{name}.files %license LICENSE.md -%dir %{_libdir}/ocaml -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif - -%files devel -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.a -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.ml -%{_libdir}/ocaml/*/META -%{_libdir}/ocaml/*/dune-package -%{_libdir}/ocaml/*/opam +%doc README.md + +%files devel -f %{name}.files.devel %changelog
