remove python3-virtualenv-python26

This commit is contained in:
shixuantong 2023-05-16 19:11:01 +08:00
parent dcf2647285
commit d14fa52317

View File

@ -1,7 +1,7 @@
%global srcname virtualenv %global srcname virtualenv
Name: python-%{srcname} Name: python-%{srcname}
Version: 20.4.7 Version: 20.4.7
Release: 1 Release: 2
Summary: A tool to create isolated Python environments Summary: A tool to create isolated Python environments
License: MIT License: MIT
URL: http://pypi.python.org/pypi/virtualenv URL: http://pypi.python.org/pypi/virtualenv
@ -23,32 +23,17 @@ Python versions and some more advanced features.
%package -n python3-virtualenv %package -n python3-virtualenv
Summary: Tool to create isolated Python environments Summary: Tool to create isolated Python environments
Requires: python3-setuptools python3-appdirs python3-virtualenv-python26 Requires: python3-setuptools python3-appdirs
Requires: python3-distlib python3-filelock python3-six Requires: python3-distlib python3-filelock python3-six
%{?python_provide:%python_provide python3-virtualenv} %{?python_provide:%python_provide python3-virtualenv}
Provides: virtualenv = %{version}-%{release} Provides: virtualenv = %{version}-%{release}
Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheel Requires: python-pip-wheel python-setuptools-wheel python-wheel-wheel
Requires: python3-appdirs python3-distlib python3-filelock Requires: python3-appdirs python3-distlib python3-filelock
Obsoletes: python3-virtualenv-python26 < %{version}-%{release}
%description -n python3-virtualenv %description -n python3-virtualenv
virtualenv support in python3. virtualenv support in python3.
%package -n python3-virtualenv-python26
Summary: Extra bits of virtuelenv only needed with Python 2.6
Requires: python3-virtualenv = %{version}-%{release}
%{?python_provide:%python_provide python3-virtualenv-python26}
Provides: bundled(python2dist(argparse)) = 1.4.0
Provides: bundled(python2dist(pip)) = 19.1.1
Provides: bundled(python2dist(pip)) = 21.1.2
Provides: bundled(python2dist(setuptools)) = 43.0.0
Provides: bundled(python2dist(setuptools)) = 44.1.1
Provides: bundled(python2dist(setuptools)) = 50.3.2
Provides: bundled(python2dist(wheel)) = 0.33.6
Provides: bundled(python2dist(wheel)) = 0.36.2
%description -n python3-virtualenv-python26
Tools that support for python2.6 virtual environments with python3.
%prep %prep
%autosetup -n virtualenv-%{version} -p1 %autosetup -n virtualenv-%{version} -p1
@ -64,10 +49,10 @@ Tools that support for python2.6 virtual environments with python3.
%{python3_sitelib}/virtualenv* %{python3_sitelib}/virtualenv*
%{_bindir}/virtualenv %{_bindir}/virtualenv
%files -n python3-virtualenv-python26
%{python3_sitelib}/virtualenv/seed/wheels/embed/*.whl
%changelog %changelog
* Tue May 16 2023 shixuantong <shixuantong1@huawei.com> - 20.4.7-2
- remove python3-virtualenv-python26
* Thu Dec 09 2021 shixuantong <shixuantong@huawei.com> - 20.4.7-1 * Thu Dec 09 2021 shixuantong <shixuantong@huawei.com> - 20.4.7-1
- update version to 20.4.7 - update version to 20.4.7