Hello community, here is the log from the commit of package ocaml-rope for openSUSE:Factory checked in at 2019-02-20 14:12:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-rope (Old) and /work/SRC/openSUSE:Factory/.ocaml-rope.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ocaml-rope" Wed Feb 20 14:12:55 2019 rev:2 rq:677430 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-rope/ocaml-rope.changes 2018-06-19 11:58:20.013905806 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-rope.new.28833/ocaml-rope.changes 2019-02-20 14:12:55.998907359 +0100 @@ -1,0 +2,11 @@ +Tue Feb 19 03:02:14 UTC 2019 - andy@onthewings.net + +- Update install section for ocaml-dune 1.7.1. + +------------------------------------------------------------------- +Fri Feb 8 02:22:30 UTC 2019 - andy@onthewings.net + +- Updated build command for new dune version. +- Use spdx OCaml-LGPL-linking-exception in License. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-rope.spec ++++++ --- /var/tmp/diff_new_pack.nq9hwW/_old 2019-02-20 14:12:56.610907154 +0100 +++ /var/tmp/diff_new_pack.nq9hwW/_new 2019-02-20 14:12:56.614907152 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocaml-rope # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -15,12 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ocaml-rope Version: 0.6.1 Release: 0 %{?ocaml_preserve_bytecode} Summary: Ropes ("heavyweight strings") for OCaml -License: LGPL-2.1-or-later WITH OCaml-linking-exception +License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception Group: Development/Languages/OCaml URL: http://rope.forge.ocamlcore.org/ @@ -28,11 +29,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ocaml +BuildRequires: ocaml-benchmark-devel BuildRequires: ocaml-dune +BuildRequires: ocaml-rpm-macros BuildRequires: ocamlfind -BuildRequires: ocaml-benchmark-devel BuildRequires: opam-installer -BuildRequires: ocaml-rpm-macros %description Ropes ("heavyweight strings") are a scalable string implementation: @@ -48,7 +49,6 @@ Group: Development/Languages/OCaml Requires: %{name} = %{version} - %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. @@ -57,23 +57,17 @@ %prep %setup -q -n %{name}-%{version} - %build -jbuilder build @install - +dune build @install %install -export DESTDIR=$RPM_BUILD_ROOT -export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml -mkdir -p $OCAMLFIND_DESTDIR -jbuilder install --destdir="$DESTDIR" --libdir="$OCAMLFIND_DESTDIR" --verbose +mkdir -p %{buildroot}%{_libdir}/ocaml +dune install --destdir=%{buildroot} --verbose # These files will be installed using the doc and license directives -rm $DESTDIR/doc/rope/{CHANGES.md,LICENSE.md,README.md} - +rm %{buildroot}/usr/doc/rope/{CHANGES.md,LICENSE.md,README.md} %check -jbuilder runtest - +dune runtest --profile=release %files %defattr(-,root,root,-) @@ -86,7 +80,6 @@ %{_libdir}/ocaml/*/*.cmxs %endif - %files devel %defattr(-,root,root,-) %doc README.md CHANGES.md @@ -111,8 +104,6 @@ %{_libdir}/ocaml/*/*/*.cmt %{_libdir}/ocaml/*/META %{_libdir}/ocaml/*/opam -%{_libdir}/ocaml/*/*.dune -%{_libdir}/ocaml/*/*/*.dune - +%{_libdir}/ocaml/*/dune-package %changelog