Hello community, here is the log from the commit of package ocaml-dune for openSUSE:Factory checked in at 2019-11-12 16:11:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-dune (Old) and /work/SRC/openSUSE:Factory/.ocaml-dune.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-dune" Tue Nov 12 16:11:42 2019 rev:14 rq:746697 version:1.11.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-dune/ocaml-dune.changes 2019-10-23 15:51:34.078741150 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-dune.new.2990/ocaml-dune.changes 2019-11-12 16:11:43.839772428 +0100 @@ -1,0 +2,5 @@ +Fri Nov 1 12:34:56 UTC 2019 - [email protected] + +- Require current dune macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-dune.spec ++++++ --- /var/tmp/diff_new_pack.4YQNej/_old 2019-11-12 16:11:44.619773266 +0100 +++ /var/tmp/diff_new_pack.4YQNej/_new 2019-11-12 16:11:44.619773266 +0100 @@ -28,10 +28,8 @@ Conflicts: ocaml-jbuilder-debuginfo Conflicts: ocaml-jbuilder-debugsource Source: %{name}-%{version}.tar.xz -Requires: ocaml-findlib -BuildRequires: ocaml -BuildRequires: ocaml-rpm-macros >= 20191004 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ocaml(ocaml_base_version) < 4.06 +BuildRequires: ocaml-rpm-macros >= 20191101 %description A composable build system for OCaml @@ -49,19 +47,19 @@ %autosetup -p1 %build +ocaml configure.ml --libdir=$(ocamlc -where) %make_build %install #make_install PREFIX='%{_prefix}' LIBDIR="$(ocamlc -where)" -./_boot/default/bin/main/main_dune.exe install \ - --prefix '%{_prefix}' \ - --destdir '%{buildroot}' \ - --libdir "$(ocamlc -where)" \ - dune --build-dir _boot -find '%{buildroot}' -ls -rm -rfv %{buildroot}%{_prefix}/doc -mkdir -vp %{buildroot}%{_mandir} -mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir} +if pushd _boot/default/bin/main +then + ln -svb main_dune.exe dune + export PATH="`readlink -f \"$PWD\"`:$PATH" + popd +fi +OCAML_DUNE_INSTALL_ARGS='dune --build-dir _boot' +%ocaml_dune_install %ocaml_create_file_list %files -f %{name}.files
