[alglib/el6: 5/6] Adapt spec for el6

Sandro Mani smani at fedoraproject.org
Fri Jan 2 13:14:50 UTC 2015


commit e0af2013dc2ebbdbf9145cb57e3c8870ddf7ae9a
Author: Sandro Mani <manisandro at gmail.com>
Date:   Fri Jan 2 13:55:17 2015 +0100

    Adapt spec for el6

 alglib.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/alglib.spec b/alglib.spec
index 0d427d9..acfd774 100644
--- a/alglib.spec
+++ b/alglib.spec
@@ -45,7 +45,7 @@ The %{name}-doc package contains the %{name} API documentation.
 
 
 %prep
-%autosetup -p1 -ncpp
+%setup -q -n cpp
 cp %{SOURCE1} .
 cp %{SOURCE2} .
 
@@ -71,8 +71,8 @@ ln -s libalglib-%{version}.so %{buildroot}%{_libdir}/libalglib.so
 
 %check
 pushd build
-./test_c || exit 1
-./test_i || exit 1
+LD_LIBRARY_PATH=$PWD ./test_c || exit 1
+LD_LIBRARY_PATH=$PWD ./test_i || exit 1
 popd
 
 


More information about the scm-commits mailing list