[packages/ocaml-bytes] - unified ocaml_opt bcond name

qboosh qboosh at pld-linux.org
Sun Jul 19 07:53:08 CEST 2015


commit dc5c45863f6cb95acad9044bc0be27d57ce2df32
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 19 07:54:25 2015 +0200

    - unified ocaml_opt bcond name

 ocaml-bytes.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ocaml-bytes.spec b/ocaml-bytes.spec
index 2887a6b..b63c3a5 100644
--- a/ocaml-bytes.spec
+++ b/ocaml-bytes.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	opt		# build opt
+%bcond_without	ocaml_opt	# build opt (native code)
 
 Summary:	Transitional Bytes module for OCaml
 Summary(pl.UTF-8):	Przejściowy moduł Bytes dla OCamla
@@ -75,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.md bytes.mli
 %dir %{_libdir}/ocaml/bytes
 %{_libdir}/ocaml/bytes/bytes.cm[aiox]
-%if %{with opt}
+%if %{with ocaml_opt}
 %{_libdir}/ocaml/bytes/bytes.a
 %{_libdir}/ocaml/bytes/bytes.cmxa
 %{_libdir}/ocaml/bytes/bytes.cmxs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-bytes.git/commitdiff/dc5c45863f6cb95acad9044bc0be27d57ce2df32



More information about the pld-cvs-commit mailing list