added requirement for py3 version [release 15.1.0-3mamba;Tue Sep 19 2017]
This commit is contained in:
parent
164444305f
commit
8d3ae09bf7
@ -1,6 +1,6 @@
|
|||||||
Name: python-virtualenv
|
Name: python-virtualenv
|
||||||
Version: 15.1.0
|
Version: 15.1.0
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Virtual Python Environment builder
|
Summary: Virtual Python Environment builder
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,8 +13,15 @@ License: MIT
|
|||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
|
%if "%{?with_pyver}"
|
||||||
|
Requires: python3 >= %python3_version
|
||||||
|
Requires: libpython3-devel
|
||||||
|
Requires: python-setuptools-py3
|
||||||
|
%else
|
||||||
Requires: python >= %python_version
|
Requires: python >= %python_version
|
||||||
|
Requires: libpython-devel
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -70,6 +77,9 @@ mv %{buildroot}%{_mandir}/man1/virtualenv.1 %{buildroot}%{_mandir}/man1/virtuale
|
|||||||
%{_mandir}/man1/virtualenv*.1*
|
%{_mandir}/man1/virtualenv*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 15.1.0-3mamba
|
||||||
|
- added requirement for py3 version
|
||||||
|
|
||||||
* Thu Jul 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 15.1.0-2mamba
|
* Thu Jul 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 15.1.0-2mamba
|
||||||
- rename virtualenv to virtualenv2 in py2 package to support co-existence
|
- rename virtualenv to virtualenv2 in py2 package to support co-existence
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user