[packages/ocaml-findlib] - package META file findlib properly - site-lib directory is provided by ocaml-runtime
baggins
baggins at pld-linux.org
Sun Sep 23 11:58:43 CEST 2012
commit cf282a188e15f8b4850682ac4d4b7ff8cc5540e0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Sep 23 11:57:50 2012 +0200
- package META file findlib properly
- site-lib directory is provided by ocaml-runtime
ocaml-findlib.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec
index b71a7b2..b7e42f3 100644
--- a/ocaml-findlib.spec
+++ b/ocaml-findlib.spec
@@ -80,7 +80,7 @@ cp -a $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/findlib \
$RPM_BUILD_ROOT%{_libdir}/ocaml/findlib
%{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/findlib/*.*
%{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/findlib/META
-echo 'directory = "+findlib"' >> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/META
+echo 'directory = "+findlib"' >> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/findlib/META
echo 'ldconf = "ignore"' >> $RPM_BUILD_ROOT%{_sysconfdir}/ocamlfind.conf
ln -s ../stublibs $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/libexec
@@ -95,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/ocamlfind
%attr(755,root,root) %{_bindir}/safe_camlp4
%config %{_sysconfdir}/ocamlfind.conf
-%{_libdir}/ocaml/site-lib
+%{_libdir}/ocaml/site-lib/*
%{_mandir}/man1/ocamlfind.1*
%{_mandir}/man5/META.5*
%{_mandir}/man5/findlib.conf.5*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-findlib.git/commitdiff/cf282a188e15f8b4850682ac4d4b7ff8cc5540e0
More information about the pld-cvs-commit
mailing list