From 1357614bd5392b97573716063333be62be54ace5 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 14 Nov 2023 23:58:40 +0100 Subject: [PATCH 1/1] BR: python/python3 for %py_*/%py3_* --- python-urllib3.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-urllib3.spec b/python-urllib3.spec index 2f46f3d..fe72492 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -25,6 +25,7 @@ URL: https://urllib3.readthedocs.io/ BuildRequires: glibc-localedb-all %endif %if %{with python2} +BuildRequires: python >= 1:2.7 BuildRequires: python-modules >= 1:2.7 %if %{with tests} BuildRequires: python-PySocks >= 1.7.1 @@ -45,6 +46,7 @@ BuildRequires: uname(release) >= 3.9 %endif %endif %if %{with python3} +BuildRequires: python3 >= 1:3.5 BuildRequires: python3-modules >= 1:3.5 %if %{with tests} BuildRequires: python3-PySocks >= 1.7.1 -- 2.44.0