[python-pycurl] run the tests against the just built pycurl, not the system one

Kamil Dudka kdudka at fedoraproject.org
Wed Mar 6 14:20:33 UTC 2013


commit 2423e9dab287dfaad8d7372737cbd42e18557935
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Wed Mar 6 15:14:24 2013 +0100

    run the tests against the just built pycurl, not the system one

 python-pycurl.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
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 <kdudka at redhat.com> - 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 <kdudka at redhat.com> - 7.19.0-14
 - apply bug-fixes committed to upstream CVS since 7.19.0 (fixes #896025)


More information about the scm-commits mailing list