[packages/google-drive-ocamlfuse] - fix install

baggins baggins at pld-linux.org
Mon Jun 5 23:01:50 CEST 2017


commit 81c4c211416a28a8ffb8fd09be6e60e3e7fe563b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 5 21:01:39 2017 +0000

    - fix install

 google-drive-ocamlfuse.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/google-drive-ocamlfuse.spec b/google-drive-ocamlfuse.spec
index 09635d0..a7e0aea 100644
--- a/google-drive-ocamlfuse.spec
+++ b/google-drive-ocamlfuse.spec
@@ -61,14 +61,13 @@ tej biblioteki.
 
 %build
 ocaml setup.ml -configure \
-	--prefix %{_prefix} \
-	--destdir $RPM_BUILD_ROOT
+	--prefix $RPM_BUILD_ROOT/%{_prefix}
+
 ocaml setup.ml -build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
-install -d $OCAMLFIND_DESTDIR
+
 ocaml setup.ml -install
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/google-drive-ocamlfuse.git/commitdiff/81c4c211416a28a8ffb8fd09be6e60e3e7fe563b



More information about the pld-cvs-commit mailing list