- 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:
parent
2a39b9aab1
commit
fc123d0e38
@ -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
|
||||
|
@ -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)) ; \
|
||||
|
Loading…
Reference in New Issue
Block a user