Hello community, here is the log from the commit of package python-pyodbc for openSUSE:Factory checked in at 2019-09-18 13:10:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyodbc (Old) and /work/SRC/openSUSE:Factory/.python-pyodbc.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyodbc" Wed Sep 18 13:10:36 2019 rev:6 rq:731160 version:4.0.27 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyodbc/python-pyodbc.changes 2019-08-13 13:23:38.853380757 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyodbc.new.7948/python-pyodbc.changes 2019-09-18 13:10:54.584696590 +0200 @@ -1,0 +2,6 @@ +Sat Sep 14 15:34:06 UTC 2019 - John Vandenberg <[email protected]> + +- Use %python_expand in %check to allow building only a single + flavour + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyodbc.spec ++++++ --- /var/tmp/diff_new_pack.xy5tZK/_old 2019-09-18 13:10:56.224696245 +0200 +++ /var/tmp/diff_new_pack.xy5tZK/_new 2019-09-18 13:10:56.228696244 +0200 @@ -43,6 +43,8 @@ %prep %setup -q -n pyodbc-%{version} +mv tests2 tests-%{python2_bin_suffix} +mv tests3 tests-%{python3_bin_suffix} %build %python_build @@ -52,8 +54,9 @@ %check export PYTHONDONTWRITEBYTECODE=1 -PYTHONPATH=%{buildroot}%{python3_sitearch} python3 tests3/sqlitetests.py -v "Driver=SQLITE3;Database=sqlite.db" -PYTHONPATH=%{buildroot}%{python2_sitearch} python2 tests2/sqlitetests.py -v "Driver=SQLITE3;Database=sqlite.db" +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python tests-%{$python_bin_suffix}/sqlitetests.py -v "Driver=SQLITE3;Database=sqlite.db" +} %files %{python_files} %{python_sitearch}/*
