]> git.pld-linux.org Git - packages/ocaml-camlp4.git/blobdiff - ocaml-camlp4.spec
- unified ocaml_opt bcond name
[packages/ocaml-camlp4.git] / ocaml-camlp4.spec
index c5391b21fa0eef65bdefede7b3028376306ed9f8..b8aaf30f404f1f2142041885de30f1d78dc6008b 100644 (file)
@@ -1,14 +1,14 @@
 #
 # Conditional build:
-%bcond_without opt             # build opt
+%bcond_without ocaml_opt       # build opt (native code)
 
 %define                main_ver        4.02
 %define                subver          6
 
 %define                doc_ver         3.06
 
-%ifarch x32
-%undefine      with_opt
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
+%undefine      with_ocaml_opt
 %endif
 
 %define                module  camlp4
@@ -92,7 +92,7 @@ cp %{SOURCE4} docs/camlp4-tutorial.ps.gz
 %build
 ./configure
 
-%{__make} -j1 %{?with_opt:all}
+%{__make} -j1 %{?with_ocaml_opt:all}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.05582 seconds and 4 git commands to generate.