From 9b19367ee8ad4d69d7602d254e8b76047a5eddc985d8167000fc60b28d22d766 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= <mmachova@suse.com>
Date: Mon, 22 Feb 2021 13:55:12 +0000
Subject: [PATCH] Accepting request 874310 from
 home:bnavigator:branches:devel:languages:python

- Fix wheel location when custom installing into test venv.

OBS-URL: https://build.opensuse.org/request/show/874310
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=82
---
 python-tox.changes | 5 +++++
 python-tox.spec    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/python-tox.changes b/python-tox.changes
index ef5650f..d4da07b 100644
--- a/python-tox.changes
+++ b/python-tox.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Feb 22 11:44:36 UTC 2021 - Ben Greiner <code@bnavigator.de>
+
+- Fix wheel location when custom installing into test venv.
+
 -------------------------------------------------------------------
 Sun Jan 17 20:03:10 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
 
diff --git a/python-tox.spec b/python-tox.spec
index 013b7bb..6ba3dd1 100644
--- a/python-tox.spec
+++ b/python-tox.spec
@@ -142,7 +142,7 @@ donttest+=" or test_build_backend_without_submodule"
 %{python_expand # tests expect an active virtualenv with a clean python name as sys.executable
 virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}
 source testenv-%{$python_bin_suffix}/bin/activate
-pip install ./tox*.whl
+pip install ./build/tox*.whl
 python -B -m pytest -v -m "not network" -k "not (${donttest:4})" -n auto
 deactivate
 }