From dcb79cee693f826f814b3b41ccc354009748e8a0 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Nov 15 2015 15:33:24 +0000 Subject: Add python2 subpackage --- diff --git a/python-setuptools.spec b/python-setuptools.spec index 3a73dd8..7e4e20e 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -68,9 +68,6 @@ BuildRequires: python3-wheel Provides: python-distribute = %{version}-%{release} Obsoletes: python-distribute < 0.6.36-2 -# Declare that we provide the py2 version of setuptools -Provides: python2-setuptools - %description Setuptools is a collection of enhancements to the Python distutils that allow @@ -80,10 +77,22 @@ have dependencies on other packages. This package also contains the runtime components of setuptools, necessary to execute the software that requires pkg_resources.py. +%package -n python2-setuptools +Summary: Easily build and distribute Python packages +%{?python_provide:%python_provide python2-setuptools} +%description -n python2-setuptools +Setuptools is a collection of enhancements to the Python distutils that allow +you to more easily build and distribute Python packages, especially ones that +have dependencies on other packages. + +This package also contains the runtime components of setuptools, necessary to +execute the software that requires pkg_resources.py. + %if 0%{?with_python3} %package -n python3-setuptools Summary: Easily build and distribute Python 3 packages Group: Applications/System +%{?python_provide:%python_provide python3-setuptools} # Note: Do not need to Require python3-backports-ssl_match_hostname because it # has been present since python3-3.2. We do not ship python3-3.0 or @@ -214,6 +223,7 @@ popd %changelog * Sun Nov 15 2015 Thomas Spura - 18.5-3 - Try to disable zip_safe bug #1271776 +- Add python2 subpackage * Fri Nov 06 2015 Robert Kuska - 18.5-2 - Add patch so it is possible to set test_args variable