[packages/ocaml-curses] META needs to be in site-lib somewhy in pld. move
glen
glen at pld-linux.org
Sat Aug 31 21:56:27 CEST 2013
commit 88dee0d99f1db10298720f29b5d5889de167d5e8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Aug 31 22:56:14 2013 +0300
META needs to be in site-lib somewhy in pld. move
ocaml-curses.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/ocaml-curses.spec b/ocaml-curses.spec
index a84ed75..7a7a0c8 100644
--- a/ocaml-curses.spec
+++ b/ocaml-curses.spec
@@ -5,7 +5,7 @@
Summary: OCaml bindings for ncurses
Name: ocaml-curses
Version: 1.0.3
-Release: 1
+Release: 7
License: LGPL v2+
Group: Development/Libraries
Source0: http://download.savannah.gnu.org/releases/ocaml-tmk/%{name}-%{version}.tar.gz
@@ -54,6 +54,9 @@ export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
ocamlfind install curses META *.cmi *.cmx *.cma *.cmxa *.a *.so *.mli
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curses
+mv $OCAMLFIND_DESTDIR/curses/META $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curses
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -68,6 +71,7 @@ rm -rf $RPM_BUILD_ROOT
%endif
%attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner
+%{_libdir}/ocaml/site-lib/curses
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-curses.git/commitdiff/88dee0d99f1db10298720f29b5d5889de167d5e8
More information about the pld-cvs-commit
mailing list