Author: minfrin
Date: Mon Jul 27 22:56:32 2009
New Revision: 798323
URL: http://svn.apache.org/viewvc?rev=798323&view=rev
Log:
Make sure the LD_LIBRARY_PATH is sensible when running the tests
from the RPM build, so that the crypto, dbd and dbm tests pass.
Modified:
apr/apr-util/branches/1.4.x/CHANGES
apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in
Modified: apr/apr-util/branches/1.4.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/CHANGES?rev=798323&r1=798322&r2=798323&view=diff
==============================================================================
--- apr/apr-util/branches/1.4.x/CHANGES [utf-8] (original)
+++ apr/apr-util/branches/1.4.x/CHANGES [utf-8] Mon Jul 27 22:56:32 2009
@@ -1,6 +1,10 @@
-*- coding: utf-8 -*-
Changes with APR-util 1.4.0
+ *) Make sure the LD_LIBRARY_PATH is sensible when running the tests
+ from the RPM build, so that the crypto, dbd and dbm tests pass.
+ [Graham Leggett]
+
*) Clarify the error messages within the dbd tests. [Graham Leggett]
*) Use locally scoped variables in PostgreSQL driver to avoid stomping
Modified: apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in?rev=798323&r1=798322&r2=798323&view=diff
==============================================================================
--- apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in (original)
+++ apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in Mon Jul 27 22:56:32 2009
@@ -11,7 +11,7 @@
Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 1.3.0
-BuildPrereq: db4-devel, expat-devel
+BuildPrereq: expat-devel
%description
The mission of the Apache Portable Runtime (APR) is to provide a
@@ -134,7 +134,7 @@
# Run non-interactive tests
pushd test
make %{?_smp_mflags} all CFLAGS=-fno-strict-aliasing
-./testall -v || exit 1
+LD_LIBRARY_PATH=../crypto/.libs:../dbd/.libs:../dbm/.libs ./testall -v || exit 1
popd
%install
|