From 9c8af9d92e7f78d57335fedbc348c2574e3188f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 Oct 2021 19:18:47 +0200 Subject: [PATCH] Don't use tox during the build to avoid a build dependency loop platformdirs <- virtualenv <- tox --- python-platformdirs.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-platformdirs.spec b/python-platformdirs.spec index 74e63b7..c47f473 100644 --- a/python-platformdirs.spec +++ b/python-platformdirs.spec @@ -5,7 +5,7 @@ a "user data dir".} Name: python-%{srcname} Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python module for determining appropriate platform-specific dirs License: MIT URL: https://github.com/platformdirs/platformdirs @@ -29,7 +29,9 @@ BuildRequires: python3-devel %generate_buildrequires -%pyproject_buildrequires -t +# Upstream uses tox, but we don't use it, to avoid a build dependency loop +# platformdirs <- virtualenv <- tox +%pyproject_buildrequires -r %build @@ -42,7 +44,7 @@ BuildRequires: python3-devel %check -%tox +%{python3} -m unittest discover %files -n python3-%{srcname} -f %{pyproject_files} @@ -51,6 +53,9 @@ BuildRequires: python3-devel %changelog +* Tue Oct 26 2021 Miro HronĨok - 2.3.0-2 +- Don't use tox during the build to avoid a build dependency loop + * Mon Aug 30 2021 Carl George - 2.3.0-1 - Latest upstream - Resolves: rhbz#1999337