remove BuildRequires ocaml-findlib
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-dune?expand=0&rev=34
This commit is contained in:
parent
a6f51ad307
commit
318775dfaa
@ -30,7 +30,6 @@ Conflicts: ocaml-jbuilder-debugsource
|
|||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Requires: ocaml-findlib
|
Requires: ocaml-findlib
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-findlib
|
|
||||||
BuildRequires: ocaml-rpm-macros >= 20190930
|
BuildRequires: ocaml-rpm-macros >= 20190930
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -53,8 +52,12 @@ developing applications that use %{name}.
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#make_install
|
#make_install PREFIX='%{_prefix}' LIBDIR="$(ocamlc -where)"
|
||||||
./_boot/default/bin/main/main_dune.exe install --destdir '%{buildroot}' dune --build-dir _boot
|
./_boot/default/bin/main/main_dune.exe install \
|
||||||
|
--prefix '%{_prefix}' \
|
||||||
|
--destdir '%{buildroot}' \
|
||||||
|
--libdir "$(ocamlc -where)" \
|
||||||
|
dune --build-dir _boot
|
||||||
find '%{buildroot}' -ls
|
find '%{buildroot}' -ls
|
||||||
rm -rfv %{buildroot}%{_prefix}/doc
|
rm -rfv %{buildroot}%{_prefix}/doc
|
||||||
mkdir -vp %{buildroot}%{_mandir}
|
mkdir -vp %{buildroot}%{_mandir}
|
||||||
|
Loading…
Reference in New Issue
Block a user