Reintroduce support for Python 2.6 (#1602347)

Add missing bundled provides
epel9
Miro Hrončok 7 years ago
parent 59df543dc9
commit d384e0f325

@ -8,7 +8,7 @@
Name: python-virtualenv
Version: 16.0.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Tool to create isolated Python environments
Group: Development/Languages
@ -21,7 +21,15 @@ Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%
# listing it's content.
Patch0: check-exec_dir.patch
# virtualenv 16.x dropped support for Python 2.6 yet we still advertise that
# so we bring it back
# https://bugzilla.redhat.com/show_bug.cgi?id=1602347
# once an virtualenv update has to be made that will make this impossible,
# the change needs to be properly communicated with Python SIG!
Patch1: python26.patch
BuildArch: noarch
BuildRequires: git-core
BuildRequires: python2-devel
%if 0%{?with_python3}
@ -44,6 +52,15 @@ Requires: python2-setuptools
Requires: python2-devel
%{?python_provide:%python_provide python2-virtualenv}
# bundled wheels
Provides: bundled(python2dist(argparse)) = 1.4.0
Provides: bundled(python2dist(pip)) = 9.0.3
Provides: bundled(python2dist(pip)) = 10.0.1
Provides: bundled(python2dist(setuptools)) = 36.8.0
Provides: bundled(python2dist(setuptools)) = 39.1.0
Provides: bundled(python2dist(wheel)) = 0.29.0
Provides: bundled(python2dist(wheel)) = 0.31.1
%description -n python2-virtualenv
virtualenv is a tool to create isolated Python environments. virtualenv
is a successor to workingenv, and an extension of virtual-python. It is
@ -65,6 +82,15 @@ Requires: python3-setuptools
Requires: python3-devel
%{?python_provide:%python_provide python3-virtualenv}
# bundled wheels
Provides: bundled(python3dist(argparse)) = 1.4.0
Provides: bundled(python3dist(pip)) = 9.0.3
Provides: bundled(python3dist(pip)) = 10.0.1
Provides: bundled(python3dist(setuptools)) = 36.8.0
Provides: bundled(python3dist(setuptools)) = 39.1.0
Provides: bundled(python3dist(wheel)) = 0.29.0
Provides: bundled(python3dist(wheel)) = 0.31.1
%description -n python3-virtualenv
virtualenv is a tool to create isolated Python environments. virtualenv
is a successor to workingenv, and an extension of virtual-python. It is
@ -74,10 +100,9 @@ licensed under an MIT-style permissive license
%prep
%setup -q -n virtualenv-%{version}
%autosetup -p1 -S git -n virtualenv-%{version}
%{__sed} -i -e "1s|#!/usr/bin/env python||" virtualenv.py
%patch0 -p1
%build
# Build code
@ -139,6 +164,10 @@ cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-2
%changelog
* Wed Jul 18 2018 Miro Hrončok <mhroncok@redhat.com> - 16.0.0-4
- Reintroduce support for Python 2.6 (#1602347)
- Add missing bundled provides
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save