commit b011b0dc33d3ecd15a8e6d8b5e72f184bcba0a22
Author: Jakub Bogusz <[email protected]>
Date: Sun Mar 6 13:49:46 2016 +0100
- renamed gomp bcond to compiler-agnostic openmp
tesseract.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tesseract.spec b/tesseract.spec
index bb59b37..50cb339 100644
--- a/tesseract.spec
+++ b/tesseract.spec
@@ -2,7 +2,7 @@
# - warnings at compile stage about pointer size on amd64 - needs check
#
# Conditional build:
-%bcond_without gomp # OpenMP support
+%bcond_without openmp # OpenMP support
%bcond_with opencl # OpenCL support
#
Summary: Tesseract Open Source OCR Engine
@@ -21,7 +21,7 @@ BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: cairo-devel
BuildRequires: leptonlib-devel >= 1.71
-BuildRequires: libgomp-devel
+%{?with_openmp:BuildRequires: libgomp-devel}
BuildRequires: libicu-devel
BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: libtiff-devel
@@ -92,7 +92,7 @@ Statyczne biblioteki Tesseracta.
%{__automake}
%configure \
%{?with_opencl:--enable-opencl} \
- %{!?with_gomp:--disable-openmp}
+ %{!?with_openmp:--disable-openmp}
%{__make}
%{__make} training
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tesseract.git/commitdiff/b011b0dc33d3ecd15a8e6d8b5e72f184bcba0a22
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit