]> git.pld-linux.org Git - packages/ocaml-labltk.git/commitdiff
- unify ocaml_opt bcond name auto/th/ocaml-labltk-8.06.0-3
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Jul 2015 19:21:36 +0000 (21:21 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Jul 2015 19:21:36 +0000 (21:21 +0200)
- release 3 (ocaml rebuild)

ocaml-labltk.spec

index aeadc4350bd8d1c3acd6616fa92dbb5bbfa20f59..7070623e27b7a284c602d2f13dcfc3bc48ca7dad 100644 (file)
@@ -1,9 +1,9 @@
 #
 # Conditional build:
-%bcond_without opt             # build opt
+%bcond_without ocaml_opt       # build opt
 
 %ifarch x32
-%undefine      with_opt
+%undefine      with_ocaml_opt
 %endif
 
 %define                module  labltk
@@ -11,7 +11,7 @@ Summary:      Runtime for LablTk library
 Summary(pl.UTF-8):     Środowisko uruchomieniowe dla biblioteki LablTk
 Name:          ocaml-labltk
 Version:       8.06.0
-Release:       2
+Release:       3
 Epoch:         1
 License:       LGPL v2 with linking exception
 Group:         Libraries
@@ -71,7 +71,7 @@ Przykładowe kody źródłowe w OCamlu dla LablTk.
 %build
 ./configure
 
-%{__make} -j1 all %{?with_opt:allopt} \
+%{__make} -j1 all %{?with_ocaml_opt:allopt} \
        CCFLAGS="%{rpmcflags} -Wall"
 
 %install
@@ -111,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/labltk/*.cmi
 %{_libdir}/ocaml/labltk/*.cmo
 %{_libdir}/ocaml/labltk/liblabltk.a
-%if %{with opt}
+%if %{with ocaml_opt}
 %{_libdir}/ocaml/labltk/*.cmx
 %{_libdir}/ocaml/labltk/frxlib.a
 %{_libdir}/ocaml/labltk/frxlib.cmxa
This page took 0.055611 seconds and 4 git commands to generate.