[packages/ocaml-fileutils] - renamed opt bcond to ocaml_opt - disable opt on x32 - rel 3
baggins
baggins at pld-linux.org
Mon Apr 6 08:52:49 CEST 2015
commit 4d420fba18c430b17510f413937ee0eb1791f607
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Apr 6 06:52:18 2015 +0000
- renamed opt bcond to ocaml_opt
- disable opt on x32
- rel 3
ocaml-fileutils.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec
index ddddbd9..d614757 100644
--- a/ocaml-fileutils.spec
+++ b/ocaml-fileutils.spec
@@ -1,12 +1,15 @@
#
# Conditional build:
-%bcond_without opt # build opt
+%bcond_without ocaml_opt # build opt
+%ifarch x32
+%undefine with_ocaml_opt
+%endif
Summary: OCaml functions to manipulate real file (POSIX like) and filename
Summary(pl.UTF-8): Funkcje OCamla do operacji na (posiksowych) plikach oraz nazwach plików
Name: ocaml-fileutils
Version: 0.4.5
-Release: 2
+Release: 3
License: LGPL v2.1+ with OCaml linking exception
Group: Libraries
Source0: http://forge.ocamlcore.org/frs/download.php/1194/%{name}-%{version}.tar.gz
@@ -75,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
-%if %{with opt}
+%if %{with ocaml_opt}
%{_libdir}/ocaml/fileutils/*.a
%{_libdir}/ocaml/fileutils/*.cmx
%{_libdir}/ocaml/fileutils/*.cmx[as]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-fileutils.git/commitdiff/4d420fba18c430b17510f413937ee0eb1791f607
More information about the pld-cvs-commit
mailing list