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