[packages/ocaml-cairo] - complete ocaml_opt archs list - release 8 (ocaml rebuild)

qboosh qboosh at pld-linux.org
Sat Jul 18 20:13:02 CEST 2015


commit 725d68e1d331dfafcc711830913f0d28594d5dc2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 18 20:14:15 2015 +0200

    - complete ocaml_opt archs list
    - release 8 (ocaml rebuild)

 ocaml-cairo.spec | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-cairo.spec b/ocaml-cairo.spec
index efb1d0a..cfffdd0 100644
--- a/ocaml-cairo.spec
+++ b/ocaml-cairo.spec
@@ -2,8 +2,8 @@
 # Conditional build:
 %bcond_without	ocaml_opt	# skip building native optimized binaries (bytecode is always built)
 
-%ifarch x32
-# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
+# not yet available on x32 (ocaml 4.02.1), update when upstream will support it
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
 %undefine	with_ocaml_opt
 %endif
 
@@ -11,7 +11,7 @@ Summary:	Cairo binding for OCaml
 Summary(pl.UTF-8):	Wiązania Cairo dla OCamla
 Name:		ocaml-cairo
 Version:	1.2.0
-Release:	7
+Release:	8
 License:	LGPL v2.1
 Group:		Libraries
 #Source0Download: http://cgit.freedesktop.org/cairo-ocaml/
@@ -143,8 +143,19 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/html src/*.mli
 %dir %{_libdir}/ocaml/cairo
-%{_libdir}/ocaml/cairo/*.cm[ixa]*
-%{_libdir}/ocaml/cairo/*.a
+%{_libdir}/ocaml/cairo/*.cma
+%{_libdir}/ocaml/cairo/*.cmi
+%if %{with ocaml_opt}
+%{_libdir}/ocaml/cairo/*.cmx*
+%{_libdir}/ocaml/cairo/cairo.a
+%{_libdir}/ocaml/cairo/cairo_lablgtk.a
+%{_libdir}/ocaml/cairo/pango_cairo.a
+%{_libdir}/ocaml/cairo/svg_cairo.a
+%endif
+%{_libdir}/ocaml/cairo/libmlcairo.a
+%{_libdir}/ocaml/cairo/libmlcairo_lablgtk.a
+%{_libdir}/ocaml/cairo/libmlpangocairo.a
+%{_libdir}/ocaml/cairo/libmlsvgcairo.a
 %{_libdir}/ocaml/site-lib/cairo
 %{_libdir}/ocaml/site-lib/cairo-lablgtk
 %{_libdir}/ocaml/site-lib/pangocairo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-cairo.git/commitdiff/725d68e1d331dfafcc711830913f0d28594d5dc2



More information about the pld-cvs-commit mailing list