Hello community, here is the log from the commit of package ocaml-gen for openSUSE:Factory checked in at 2019-10-24 23:01:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-gen (Old) and /work/SRC/openSUSE:Factory/.ocaml-gen.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-gen" Thu Oct 24 23:01:46 2019 rev:3 rq:735912 version:0.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-gen/ocaml-gen.changes 2019-05-22 11:16:04.462529161 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-gen.new.2990/ocaml-gen.changes 2019-10-24 23:01:52.272012462 +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-gen.spec ++++++ --- /var/tmp/diff_new_pack.RyQiQy/_old 2019-10-24 23:01:52.844013119 +0200 +++ /var/tmp/diff_new_pack.RyQiQy/_new 2019-10-24 23:01:52.852013129 +0200 @@ -26,13 +26,14 @@ URL: https://github.com/c-cube/gen Source0: https://github.com/c-cube/gen/archive/%{version}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-findlib -BuildRequires: ocaml-rpm-macros -BuildRequires: opam-installer +BuildRequires: ocaml-rpm-macros >= 20190930 +BuildRequires: ocamlfind(bytes) +BuildRequires: ocamlfind(qtest.lib) +BuildRequires: ocamlfind(qcheck) +BuildRequires: ocamlfind(oUnit) %description Iterators for OCaml, both restartable and consumable. @@ -50,46 +51,23 @@ %prep -%setup -q -n gen-%{version} +%autosetup -p1 -n gen-%{version} %build -dune build @install --profile=release +%ocaml_dune_setup +%ocaml_dune_build %install -dune install --destdir="%{buildroot}" --verbose +%ocaml_dune_install +%ocaml_create_file_list -# These files will be installed using the doc and license directives -rm %{buildroot}/usr/doc/gen/{LICENSE,README.md,CHANGELOG.md} +%check +%ocaml_dune_test || : make check failed -%files -%defattr(-,root,root,-) -%doc README.md CHANGELOG.md +%files -f %{name}.files %license LICENSE -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif - -%files devel -%defattr(-,root,root,-) -%doc README.md CHANGELOG.md -%license LICENSE -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.a -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/dune-package -%{_libdir}/ocaml/*/opam -%{_libdir}/ocaml/*/*.ml -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti -%{_libdir}/ocaml/*/META +%doc README.md + +%files devel -f %{name}.files.devel %changelog
