From dd7f91e26e61a46a840144406cb7945a6d87eca3 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mar 14 2018 11:17:46 +0000 Subject: run the test-suite for Python 3 only The python2-* packages are kept only for compatibility with legacy software and the test-suite (test_request_with_certinfo) recently started to fail in Koji. --- diff --git a/python-pycurl.spec b/python-pycurl.spec index b4d6e63..0367812 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -95,10 +95,6 @@ sed -e 's/ --show-skipped//' \ rm -rf %{buildroot}%{_datadir}/doc/pycurl %check -export PYTHONPATH=%{buildroot}%{python2_sitearch} -make test PYTHON=%{__python2} NOSETESTS="nosetests-%{python2_version} -v" -rm -fv tests/fake-curl/libcurl/*.so - export PYTHONPATH=%{buildroot}%{python3_sitearch} make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v" rm -fv tests/fake-curl/libcurl/*.so @@ -119,6 +115,7 @@ rm -fv tests/fake-curl/libcurl/*.so %changelog * Wed Mar 14 2018 Kamil Dudka - 7.43.0-15 +- run the test-suite for Python 3 only - do not disable TLS-SRP test because it is now supported by OpenSSL in Fedora * Mon Feb 19 2018 Kamil Dudka - 7.43.0-14