From c506822a65a01b15aaa6e5359af917b89280476b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 12 Dec 2022 19:56:02 +0100 Subject: [PATCH] Require python-wheel0.37-wheel for older Pythons Note that this cannot be merged to stable Fedoras unless we make python-wheel-wheel provide python-wheel0.37-wheel. --- python-virtualenv.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-virtualenv.spec b/python-virtualenv.spec index dd8372b..c9874d9 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,6 +1,6 @@ Name: python-virtualenv Version: 20.17.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tool to create isolated Python environments License: MIT @@ -66,6 +66,10 @@ Provides: virtualenv = %{version}-%{release} Requires: %{python_wheel_pkg_prefix}-pip-wheel Requires: %{python_wheel_pkg_prefix}-setuptools-wheel Requires: %{python_wheel_pkg_prefix}-wheel-wheel +# Pythons < 3.7 need an older version of wheel: +Requires: (%{python_wheel_pkg_prefix}-wheel0.37-wheel if python2.7) +Requires: (%{python_wheel_pkg_prefix}-wheel0.37-wheel if pypy2.7) +Requires: (%{python_wheel_pkg_prefix}-wheel0.37-wheel if python3.6) %description -n python3-virtualenv virtualenv is a tool to create isolated Python environments. virtualenv @@ -138,6 +142,9 @@ rm -r tmp_path %changelog +* Mon Dec 12 2022 Miro Hrončok - 20.17.1-2 +- Require python-wheel0.37-wheel for older Pythons + * Wed Dec 07 2022 Lumír Balhar - 20.17.1-1 - Update to 20.17.1 (rhbz#2151044)