From 2423e9dab287dfaad8d7372737cbd42e18557935 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 6 Mar 2013 15:14:24 +0100 Subject: [PATCH] run the tests against the just built pycurl, not the system one --- python-pycurl.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pycurl.spec b/python-pycurl.spec index 60ee8da..ca7c90d 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -63,7 +63,7 @@ chmod a-x examples/* CFLAGS="$RPM_OPT_FLAGS -DHAVE_CURL_OPENSSL" %{__python} setup.py build %check -export PYTHONPATH=$PWD/build/lib* +export PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch} make test PYTHON=%{__python} %install @@ -78,6 +78,7 @@ rm -rf %{buildroot}%{_datadir}/doc/pycurl * Wed Mar 06 2013 Kamil Dudka - 7.19.0-15 - allow to return -1 from the write callback (#857875) - remove the patch for curl-config --static-libs no longer needed +- run the tests against the just built pycurl, not the system one * Mon Feb 25 2013 Kamil Dudka - 7.19.0-14 - apply bug-fixes committed to upstream CVS since 7.19.0 (fixes #896025)