Hello community, here is the log from the commit of package ocaml-rope for openSUSE:Factory checked in at 2019-10-24 23:02:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-rope (Old) and /work/SRC/openSUSE:Factory/.ocaml-rope.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-rope" Thu Oct 24 23:02:14 2019 rev:4 rq:735921 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-rope/ocaml-rope.changes 2019-03-20 13:22:24.169298190 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-rope.new.2990/ocaml-rope.changes 2019-10-24 23:02:15.484039137 +0200 @@ -1,0 +2,5 @@ +Mon Sep 30 12:34:56 UTC 2019 - oher...@suse.de + +- use dune macros from ocaml-rpm-macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-rope.spec ++++++ --- /var/tmp/diff_new_pack.kUVbDa/_old 2019-10-24 23:02:16.732040571 +0200 +++ /var/tmp/diff_new_pack.kUVbDa/_new 2019-10-24 23:02:16.744040585 +0200 @@ -26,14 +26,13 @@ URL: http://rope.forge.ocamlcore.org/ Source0: https://github.com/Chris00/ocaml-rope/archive/%{version}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ocaml -BuildRequires: ocaml-benchmark-devel BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros -BuildRequires: ocamlfind -BuildRequires: opam-installer +BuildRequires: ocaml-rpm-macros >= 20190930 +BuildRequires: ocamlfind(benchmark) +BuildRequires: ocamlfind(bytes) +BuildRequires: ocamlfind(compiler-libs.toplevel) %description Ropes ("heavyweight strings") are a scalable string implementation: @@ -55,55 +54,23 @@ %prep -%setup -q -n %{name}-%{version} +%autosetup -p1 %build -dune build @install +%ocaml_dune_setup +%ocaml_dune_build %install -mkdir -p %{buildroot}%{_libdir}/ocaml -dune install --destdir=%{buildroot} --verbose -# These files will be installed using the doc and license directives -rm %{buildroot}/usr/doc/rope/{CHANGES.md,LICENSE.md,README.md} +%ocaml_dune_install +%ocaml_create_file_list %check -dune runtest --profile=release +%ocaml_dune_test -%files -%defattr(-,root,root,-) -%doc README.md CHANGES.md +%files -f %{name}.files %license LICENSE.md -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%dir %{_libdir}/ocaml/*/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif - -%files devel -%defattr(-,root,root,-) -%doc README.md CHANGES.md -%license LICENSE.md -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%dir %{_libdir}/ocaml/*/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.a -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/*.ml -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti -%{_libdir}/ocaml/*/*/*.ml -%{_libdir}/ocaml/*/*/*.cma -%{_libdir}/ocaml/*/*/*.cmi -%{_libdir}/ocaml/*/*/*.cmt -%{_libdir}/ocaml/*/META -%{_libdir}/ocaml/*/opam -%{_libdir}/ocaml/*/dune-package +%doc README.md + +%files devel -f %{name}.files.devel %changelog