[packages/ocaml-ctypes] - +10 to jbj for meaningfull error messages

baggins baggins at pld-linux.org
Sun Mar 1 13:13:35 CET 2015


commit 32e46e21d59903edcdd7310e26d46247ca6c5d9f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 1 13:13:13 2015 +0100

    - +10 to jbj for meaningfull error messages

 ocaml-ctypes.spec | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/ocaml-ctypes.spec b/ocaml-ctypes.spec
index f4436d1..b14572e 100644
--- a/ocaml-ctypes.spec
+++ b/ocaml-ctypes.spec
@@ -2,6 +2,17 @@
 # Conditional build:
 %bcond_without	ocaml_opt		# build opt
 
+%ifarch x32
+# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
+%undefine	with_ocaml_opt
+%endif
+
+%if %{without ocaml_opt}
+%define		no_install_post_strip	1
+# no opt means no native binary, stripping bytecode breaks such programs
+%define		_enable_debug_packages	0
+%endif
+
 %define		module	ctypes
 Summary:	Library for binding to C libraries using pure OCaml
 Name:		ocaml-%{module}
@@ -17,17 +28,6 @@ BuildRequires:	ocaml >= 3.04-7
 %requires_eq	ocaml-runtime
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%ifarch x32
-# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
-%undefine▸      with_ocaml_opt
-%endif
-
-%if %{without ocaml_opt}
-%define▸▸       no_install_post_strip▸  1
-# no opt means no native binary, stripping bytecode breaks such programs
-%define▸▸       _enable_debug_packages▸ 0
-%endif
-
 %description
 ctypes is a library for binding to C libraries using pure OCaml.
 The primary aim is to make writing C extensions as straightforward
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-ctypes.git/commitdiff/32e46e21d59903edcdd7310e26d46247ca6c5d9f



More information about the pld-cvs-commit mailing list