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