Add python2 subpackage
This commit is contained in:
parent
9c8c1dc3cb
commit
dcb79cee69
@ -68,9 +68,6 @@ BuildRequires: python3-wheel
|
|||||||
Provides: python-distribute = %{version}-%{release}
|
Provides: python-distribute = %{version}-%{release}
|
||||||
Obsoletes: python-distribute < 0.6.36-2
|
Obsoletes: python-distribute < 0.6.36-2
|
||||||
|
|
||||||
# Declare that we provide the py2 version of setuptools
|
|
||||||
Provides: python2-setuptools
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Setuptools is a collection of enhancements to the Python distutils that allow
|
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
|
This package also contains the runtime components of setuptools, necessary to
|
||||||
execute the software that requires pkg_resources.py.
|
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}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-setuptools
|
%package -n python3-setuptools
|
||||||
Summary: Easily build and distribute Python 3 packages
|
Summary: Easily build and distribute Python 3 packages
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
%{?python_provide:%python_provide python3-setuptools}
|
||||||
|
|
||||||
# Note: Do not need to Require python3-backports-ssl_match_hostname because it
|
# 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
|
# has been present since python3-3.2. We do not ship python3-3.0 or
|
||||||
@ -214,6 +223,7 @@ popd
|
|||||||
%changelog
|
%changelog
|
||||||
* Sun Nov 15 2015 Thomas Spura <tomspur@fedoraproject.org> - 18.5-3
|
* Sun Nov 15 2015 Thomas Spura <tomspur@fedoraproject.org> - 18.5-3
|
||||||
- Try to disable zip_safe bug #1271776
|
- Try to disable zip_safe bug #1271776
|
||||||
|
- Add python2 subpackage
|
||||||
|
|
||||||
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 18.5-2
|
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 18.5-2
|
||||||
- Add patch so it is possible to set test_args variable
|
- Add patch so it is possible to set test_args variable
|
||||||
|
Loading…
Reference in New Issue
Block a user