From e13c91be3aee2762efc31dd4f85adef1acd10457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 29 Jul 2019 15:02:53 +0200 Subject: [PATCH] Drop python2-virtualenv --- python-virtualenv.spec | 39 ++++----------------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 6346882..fd69156 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,6 +1,6 @@ Name: python-virtualenv Version: 16.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tool to create isolated Python environments License: MIT @@ -16,8 +16,6 @@ Patch2: lib64-license.patch BuildArch: noarch BuildRequires: git-core -BuildRequires: python2-devel -BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -55,25 +53,6 @@ written by Ian Bicking, and sponsored by the Open Planning Project. It is licensed under an MIT-style permissive license. -%package -n python2-virtualenv -Summary: Tool to create isolated Python environments - -Requires: python2-setuptools -Obsoletes: python2-virtualenv-python26 < 16.6 -%{?python_provide:%python_provide python2-virtualenv} - -# RPM installed wheels -Requires: python-pip-wheel -Requires: python-setuptools-wheel -Requires: python-wheel-wheel - -%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 -written by Ian Bicking, and sponsored by the Open Planning Project. It is -licensed under an MIT-style permissive license - - %package -n python3-virtualenv Summary: Tool to create isolated Python environments @@ -119,7 +98,6 @@ test ! -f virtualenv_support/*.whl %build # Build code -%{py2_build} %{py3_build} # Build docs @@ -129,10 +107,6 @@ rm -f build/sphinx/html/.buildinfo %endif %install -# As https://bugzilla.redhat.com/show_bug.cgi?id=1599422 we ship binaries in py3 -%{py2_install} -rm %{buildroot}/%{_bindir}/virtualenv - %{py3_install} %if %{with tests} @@ -152,14 +126,6 @@ rm virtualenv_support/*.whl rm -r tmp_path %endif -%files -n python2-virtualenv -%license LICENSE.txt -%doc docs/*rst PKG-INFO AUTHORS.txt -%{python2_sitelib}/virtualenv.py* -%dir %{python2_sitelib}/virtualenv_support/ -%{python2_sitelib}/virtualenv_support/__init__.py* -%{python2_sitelib}/virtualenv-*.egg-info/ - %files -n python3-virtualenv %license LICENSE.txt %doc docs/*rst PKG-INFO AUTHORS.txt @@ -178,6 +144,9 @@ rm -r tmp_path %changelog +* Mon Jul 29 2019 Miro Hrončok - 16.6.1-2 +- Drop python2-virtualenv + * Thu Jul 11 2019 Miro Hrončok - 16.6.1-1 - Update to 16.6.1 (#1699031) - No more Python 2.6 or Jython support