]> git.pld-linux.org Git - packages/cppo.git/commitdiff
- cleanup ocaml_opt bcond auto/th/cppo-0.9.3-3
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 25 Jul 2015 17:57:09 +0000 (19:57 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 25 Jul 2015 17:57:09 +0000 (19:57 +0200)
- rel 2

cppo.spec

index 26f06fe119e1d063da9537675bebfb40e0fb489d..fb12730cf2c78606d0a0d261d023d7916ea1541f 100644 (file)
--- a/cppo.spec
+++ b/cppo.spec
@@ -1,13 +1,18 @@
 #
 # Conditional build:
-%bcond_without opt             # build opt
+%bcond_without ocaml_opt       # skip building native optimized binaries (bytecode is always built)
+
+# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
+%undefine      with_ocaml_opt
+%endif
 
 %define                debug_package   %{nil}
 Summary:       cpp for OCaml
 Summary(pl.UTF-8):     Wiązania cppo dla OCamla
 Name:          cppo
 Version:       0.9.3
-Release:       1
+Release:       3
 License:       BSD
 Group:         Applications
 Source0:       http://mjambon.com/releases/cppo/%{name}-%{version}.tar.gz
@@ -29,7 +34,7 @@ używających tej biblioteki.
 %setup -q
 
 %build
-%{__make} -j1 all %{?with_opt:opt} \
+%{__make} -j1 all %{?with_ocaml_opt:opt} \
        CC="%{__cc} %{rpmcflags} -fPIC"
 
 %install
This page took 0.109061 seconds and 4 git commands to generate.