[jblas] Fix issue with atlas library merge
Zbigniew Jędrzejewski-Szmek
zbyszek at fedoraproject.org
Mon Sep 23 01:10:35 UTC 2013
commit 4c02ceacba89e1323b9fcdeafc5d77955c7e942c
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Sep 23 02:42:01 2013 +0200
Fix issue with atlas library merge
jblas.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/jblas.spec b/jblas.spec
index 27ef94c..3d3bc70 100644
--- a/jblas.spec
+++ b/jblas.spec
@@ -46,10 +46,14 @@ rm -rf src/main/resources/lib/static
%patch0 -p1
%patch1 -p1
+%if 0%{?fedora} >= 21
+%global libsdefine --libs=tatlas
+%endif
+
%build
libdir="$(cd "/usr/lib/$(gcc -print-multi-os-directory)"; pwd)"
export LC_ALL="en_US.utf8"
-./configure --ptatlas --libpath="$libdir/atlas" --arch-flavor=sse
+./configure --ptatlas --libpath="$libdir/atlas" --arch-flavor=sse %{?libsdefine}
make %{?_smp_mflags} CFLAGS="%{optflags} -fPIC"
ant minimal-jar javadoc
rm -rf javadoc/src-html
More information about the scm-commits
mailing list