From 493e19813275bf07ff32817b98081ba8d924568a Mon Sep 17 00:00:00 2001 From: Phil Wyett Date: Thu, 15 Aug 2019 10:18:04 +0100 Subject: [PATCH] Let's use python3_sitelib for python3 tests. --- python-setuptools_scm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 366dd54..39a6a3f 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -64,7 +64,7 @@ It also handles file finders for the suppertes scms. %if %{with tests} %check PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python3_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' +PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v -k 'not (test_pip_download or test_old_setuptools_fails or test_old_setuptools_allows_with_warnings or test_distlib_setuptools_works)' %endif %files -n python2-%{srcname}