]> git.pld-linux.org Git - packages/ocaml-ctypes.git/commitdiff
- +10 to jbj for meaningfull error messages
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 12:13:13 +0000 (13:13 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 12:13:13 +0000 (13:13 +0100)
ocaml-ctypes.spec

index f4436d1e1c3750302846a787e7c54b41efc2fe77..b14572ecf4f47bee16515c408b2254328e5dc3af 100644 (file)
@@ -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
This page took 0.135096 seconds and 4 git commands to generate.