[packages/ocaml-labltk] - unify ocaml_opt bcond name - release 3 (ocaml rebuild)
qboosh
qboosh at pld-linux.org
Fri Jul 17 21:20:24 CEST 2015
commit e2007f7b76252b08ac17f168f8eb90381ed3878e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 17 21:21:36 2015 +0200
- unify ocaml_opt bcond name
- release 3 (ocaml rebuild)
ocaml-labltk.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-labltk.spec b/ocaml-labltk.spec
index aeadc43..7070623 100644
--- a/ocaml-labltk.spec
+++ b/ocaml-labltk.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-labltk.git/commitdiff/e2007f7b76252b08ac17f168f8eb90381ed3878e
More information about the pld-cvs-commit
mailing list