From 8d3ae09bf7adeacf944844dfc9268b534c890b10 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:50:41 +0100 Subject: [PATCH] added requirement for py3 version [release 15.1.0-3mamba;Tue Sep 19 2017] --- python-virtualenv.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python-virtualenv.spec b/python-virtualenv.spec index c68a9a9..5d0b9a7 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,6 +1,6 @@ Name: python-virtualenv Version: 15.1.0 -Release: 2mamba +Release: 3mamba Summary: Virtual Python Environment builder Group: System/Libraries/Python Vendor: openmamba @@ -13,8 +13,15 @@ License: MIT BuildRequires: libpython-devel ## AUTOBUILDREQ-END BuildRequires: help2man +%if "%{?with_pyver}" +Requires: python3 >= %python3_version +Requires: libpython3-devel +Requires: python-setuptools-py3 +%else Requires: python >= %python_version +Requires: libpython-devel Requires: python-setuptools +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch @@ -70,6 +77,9 @@ mv %{buildroot}%{_mandir}/man1/virtualenv.1 %{buildroot}%{_mandir}/man1/virtuale %{_mandir}/man1/virtualenv*.1* %changelog +* Tue Sep 19 2017 Silvan Calarco 15.1.0-3mamba +- added requirement for py3 version + * Thu Jul 13 2017 Silvan Calarco 15.1.0-2mamba - rename virtualenv to virtualenv2 in py2 package to support co-existence