1
0

- Move prefix/man to datadir/man to workaround bug in dune (#2670)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=4
This commit is contained in:
Olaf Hering 2019-10-02 08:15:09 +00:00 committed by Git OBS Bridge
parent 2a39b9aab1
commit fc123d0e38
2 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Mon Sep 30 14:15:16 UTC 2019 - ohering@suse.de
- Provide a ocaml_create_file_list macro
- Optional extra args for dune commands
- Pass --verbose to dune commands
- Move prefix/man to datadir/man to workaround bug in dune (#2670)
-------------------------------------------------------------------
Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de

View File

@ -206,7 +206,11 @@ ocaml setup.ml -configure \\\
ulimit -s $((1024 * 64)) ; \
%endif
dune install --verbose --destdir=%%{buildroot} $OCAML_DUNE_INSTALL_ARGS ; \
rm -rfv %%{buildroot}%%{_prefix}/doc
rm -rfv %%{buildroot}%%{_prefix}/doc ; \
if test -d %%{buildroot}%%{_prefix}/man ; then \
mkdir -vp %%{buildroot}%%{_datadir} ; \
mv -vt %%{buildroot}%%{_datadir} %%{buildroot}%%{_prefix}/man ; \
fi ;
%%ocaml_dune_test \
%ifarch ppc64 ppc64le
ulimit -s $((1024 * 64)) ; \