Blame SPECS/python-pip.spec

7e1da2
%bcond_with bootstrap
7e1da2
%bcond_with tests
7e1da2
7e1da2
%bcond_without doc
7e1da2
7e1da2
%global srcname pip
c6d4a6
%global python3_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
7e1da2
%if %{without bootstrap}
c6d4a6
%global python3_wheeldir %{_datadir}/python3-wheels
7e1da2
%endif
7e1da2
7e1da2
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
7e1da2
7e1da2
Name:           python-%{srcname}
7e1da2
# When updating, update the bundled libraries versions bellow!
7e1da2
Version:        9.0.3
4cae43
Release:        20%{?dist}
7e1da2
Summary:        A tool for installing and managing Python packages
7e1da2
7e1da2
Group:          Development/Libraries
7e1da2
7e1da2
# We bundle a lot of libraries with pip, which itself is under MIT license.
7e1da2
# Here is the list of the libraries with corresponding licenses:
7e1da2
7e1da2
# appdirs: MIT
7e1da2
# CacheControl: ASL 2.0
7e1da2
# certifi: MPLv2.0
7e1da2
# chardet: LGPLv2
7e1da2
# colorama: BSD
7e1da2
# distlib: Python
7e1da2
# distro: ASL 2.0
7e1da2
# html5lib: MIT
7e1da2
# idna: BSD
7e1da2
# ipaddress: Python
7e1da2
# lockfile: MIT
7e1da2
# packaging: ASL 2.0 or BSD
7e1da2
# progress: ISC
7e1da2
# pyparsing: MIT
7e1da2
# requests: ASL 2.0
7e1da2
# retrying: ASL 2.0
7e1da2
# urllib3: MIT
7e1da2
# six: MIT
7e1da2
# urllib3: MIT
7e1da2
# webencodings: BSD
7e1da2
7e1da2
License:        MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
7e1da2
URL:            http://www.pip-installer.org
7e1da2
Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
7e1da2
7e1da2
BuildArch:      noarch
7e1da2
7e1da2
%if %{with tests}
7e1da2
BuildRequires:  git
7e1da2
BuildRequires:  bzr
7e1da2
%endif
7e1da2
7e1da2
# to get tests:
7e1da2
# git clone https://github.com/pypa/pip && cd pip
7e1da2
# git checkout 9.0.1 && tar -czvf ../pip-9.0.1-tests.tar.gz tests/
7e1da2
%if %{with tests}
1f106b
Source1:        pip-%{version}-tests.tar.gz
7e1da2
%endif
7e1da2
7e1da2
# Patch until the following issue gets implemented upstream:
7e1da2
# https://github.com/pypa/pip/issues/1351
7e1da2
Patch0:         allow-stripping-given-prefix-from-wheel-RECORD-files.patch
7e1da2
7e1da2
# Downstream only patch
7e1da2
# Emit a warning to the user if pip install is run with root privileges
7e1da2
# Issue upstream: https://github.com/pypa/pip/issues/4288
7e1da2
Patch1:         emit-a-warning-when-running-with-root-privileges.patch
7e1da2
7e1da2
# Prevent removing of the system packages installed under /usr/lib
7e1da2
# when pip install -U is executed.
7e1da2
# https://bugzilla.redhat.com/show_bug.cgi?id=1626408
7e1da2
# Author: Michal Cyprian
7e1da2
Patch2:         remove-existing-dist-only-if-path-conflicts.patch
7e1da2
7e1da2
# Do not show the "new version of pip" warning outside of venv
7e1da2
# Upstream issue: https://github.com/pypa/pip/issues/5346
7e1da2
# Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1573755
7e1da2
Patch3:         pip-nowarn-upgrade.patch
7e1da2
7e1da2
# Use the system level root certificate instead of the one bundled in certifi
7e1da2
# https://bugzilla.redhat.com/show_bug.cgi?id=1655255
7e1da2
Patch4:         dummy-certifi.patch
7e1da2
afe2ee
# Patch for CVE in the bundled urllib3
afe2ee
# CVE-2018-20060 Cross-host redirect does not remove Authorization header allow for credential exposure
afe2ee
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-20060
afe2ee
Patch5:         CVE-2018-20060.patch
afe2ee
afe2ee
# Patch for CVE in the bundled urllib3
afe2ee
# CVE-2019-11236 CRLF injection due to not encoding the '\r\n' sequence leading to possible attack on internal service
afe2ee
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11236
afe2ee
Patch6:         CVE-2019-11236.patch
afe2ee
afe2ee
# Patch for CVE in the bundled urllib3
afe2ee
# CVE-2019-11324 Certification mishandle when error should be thrown
afe2ee
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11324
afe2ee
Patch7:         CVE-2019-11324.patch
afe2ee
afe2ee
# Patch for CVE in the bundled requests
afe2ee
# CVE-2018-18074 Redirect from HTTPS to HTTP does not remove Authorization header
afe2ee
# This patch fixes both the CVE
afe2ee
# https://bugzilla.redhat.com/show_bug.cgi?id=1643829
afe2ee
# and the subsequent regression
afe2ee
# https://github.com/psf/requests/pull/4851
afe2ee
Patch8:         CVE-2018-18074.patch
afe2ee
1f106b
# Patch for pip install <url> allow directory traversal, leading to arbitrary file write
1f106b
# - Upstream PR: https://github.com/pypa/pip/pull/6418/files
1f106b
# - Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1868016
1f106b
# Patch9 fixes the issue
1f106b
# Patch10 adds unit tests for the issue
1f106b
Patch9:         pip-directory-traversal-security-issue.patch
1f106b
Patch10:        pip-directory-traversal-security-issue-tests.patch
1f106b
4cae43
# Patch for CVE-2021-3572 - pip incorrectly handled unicode separators in git references
4cae43
# The patch is adjusted for older pip where it's necessary to also switch
4cae43
# the way pip gets revisions from git
4cae43
# Upstream PR: https://github.com/pypa/pip/pull/9827
4cae43
# Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1962856
4cae43
Patch11:        CVE-2021-3572.patch
4cae43
7e1da2
%global _description \
7e1da2
pip is a package management system used to install and manage software packages \
7e1da2
written in Python. Many packages can be found in the Python Package Index \
7e1da2
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs \
7e1da2
Packages" or "Pip Installs Python".
7e1da2
7e1da2
%description %_description
7e1da2
7e1da2
7e1da2
%package -n platform-python-%{srcname}
7e1da2
Summary:        A tool for installing and managing Python3 packages
7e1da2
Group:          Development/Libraries
7e1da2
Conflicts:      python%{python3_pkgversion}-pip < 9.0.3-5%{?dist}
7e1da2
Obsoletes:      python%{python3_pkgversion}-pip < 9.0.3-6%{?dist}
7e1da2
7e1da2
BuildRequires:  python%{python3_pkgversion}-devel
7e1da2
BuildRequires:  python%{python3_pkgversion}-setuptools
7e1da2
BuildRequires:  bash-completion
7e1da2
%if %{with tests}
7e1da2
BuildRequires:  python%{python3_pkgversion}-mock
7e1da2
BuildRequires:  python%{python3_pkgversion}-pytest
7e1da2
BuildRequires:  python%{python3_pkgversion}-pretend
7e1da2
BuildRequires:  python%{python3_pkgversion}-freezegun
7e1da2
BuildRequires:  python%{python3_pkgversion}-pytest-capturelog
7e1da2
BuildRequires:  python%{python3_pkgversion}-scripttest
7e1da2
BuildRequires:  python%{python3_pkgversion}-virtualenv
7e1da2
%endif
7e1da2
%if %{without bootstrap}
7e1da2
BuildRequires:  python%{python3_pkgversion}-pip
7e1da2
BuildRequires:  python%{python3_pkgversion}-wheel
7e1da2
%endif
7e1da2
Requires:  platform-python-setuptools
7e1da2
7e1da2
BuildRequires:  ca-certificates
7e1da2
Requires:       ca-certificates
7e1da2
7e1da2
# Virtual provides for the packages bundled by pip.
7e1da2
# See the python2 list above for instructions.
7e1da2
Provides: bundled(python3dist(appdirs)) = 1.4.0
7e1da2
Provides: bundled(python3dist(cachecontrol)) = 0.11.7
7e1da2
Provides: bundled(python3dist(colorama)) = 0.3.7
7e1da2
Provides: bundled(python3dist(distlib)) = 0.2.4
7e1da2
Provides: bundled(python3dist(distro)) = 1.0.1
7e1da2
Provides: bundled(python3dist(html5lib)) = 1.0b10
7e1da2
Provides: bundled(python3dist(ipaddress) = 1.0.17
7e1da2
Provides: bundled(python3dist(lockfile)) = 0.12.2
7e1da2
Provides: bundled(python3dist(packaging)) = 16.8
7e1da2
Provides: bundled(python3dist(setuptools)) = 28.8.0
7e1da2
Provides: bundled(python3dist(progress)) = 1.2
7e1da2
Provides: bundled(python3dist(pyparsing)) = 2.1.10
7e1da2
Provides: bundled(python3dist(requests)) = 2.11.1
7e1da2
Provides: bundled(python3dist(retrying)) = 1.3.3
7e1da2
Provides: bundled(python3dist(six)) = 1.10.0
7e1da2
Provides: bundled(python3dist(webencodings)) = 0.5
7e1da2
7e1da2
# Bundled within the requests bundle
7e1da2
Provides: bundled(python3dist(chardet)) = 2.3.0
7e1da2
Provides: bundled(python3dist(urllib3)) = 1.16
7e1da2
7e1da2
%description -n platform-python-%{srcname} %_description
7e1da2
7e1da2
7e1da2
%package -n python%{python3_pkgversion}-%{srcname}
7e1da2
Summary:        A tool for installing and managing Python3 packages
7e1da2
Group:          Development/Libraries
7e1da2
7e1da2
Requires:       platform-python-pip = %{version}-%{release}
7e1da2
Requires:       python36
7e1da2
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
7e1da2
7e1da2
%description -n python%{python3_pkgversion}-%{srcname} %_description
7e1da2
7e1da2
7e1da2
%if %{with doc}
7e1da2
%package doc
7e1da2
Summary:        A documentation for a tool for installing and managing Python packages
7e1da2
7e1da2
BuildRequires:  python%{python3_pkgversion}-sphinx
7e1da2
7e1da2
%description doc
7e1da2
A documentation for a tool for installing and managing Python packages
7e1da2
7e1da2
%endif
7e1da2
c6d4a6
%if %{without bootstrap}
c6d4a6
%package -n python3-%{srcname}-wheel
c6d4a6
Summary:        The pip wheel
c6d4a6
c6d4a6
# Virtual provides for the packages bundled by pip.
c6d4a6
# You can find the versions in pip/_vendor/vendor.txt file.
c6d4a6
Provides: bundled(python3dist(appdirs)) = 1.4.0
c6d4a6
Provides: bundled(python3dist(cachecontrol)) = 0.11.7
c6d4a6
Provides: bundled(python3dist(colorama)) = 0.3.7
c6d4a6
Provides: bundled(python3dist(distlib)) = 0.2.4
c6d4a6
Provides: bundled(python3dist(distro)) = 1.0.1
c6d4a6
Provides: bundled(python3dist(html5lib)) = 1.0b10
c6d4a6
Provides: bundled(python3dist(ipaddress) = 1.0.17
c6d4a6
Provides: bundled(python3dist(lockfile)) = 0.12.2
c6d4a6
Provides: bundled(python3dist(packaging)) = 16.8
c6d4a6
Provides: bundled(python3dist(setuptools)) = 28.8.0
c6d4a6
Provides: bundled(python3dist(progress)) = 1.2
c6d4a6
Provides: bundled(python3dist(pyparsing)) = 2.1.10
c6d4a6
Provides: bundled(python3dist(requests)) = 2.11.1
c6d4a6
Provides: bundled(python3dist(retrying)) = 1.3.3
c6d4a6
Provides: bundled(python3dist(six)) = 1.10.0
c6d4a6
Provides: bundled(python3dist(webencodings)) = 0.5
c6d4a6
c6d4a6
# Bundled within the requests bundle
c6d4a6
Provides: bundled(python3dist(chardet)) = 2.3.0
c6d4a6
Provides: bundled(python3dist(urllib3)) = 1.16
c6d4a6
c6d4a6
%description -n python3-%{srcname}-wheel
c6d4a6
A Python wheel of pip to use with venv.
c6d4a6
%endif
7e1da2
7e1da2
%prep
7e1da2
%setup -q -n %{srcname}-%{version}
c6d4a6
7e1da2
%if %{with tests}
7e1da2
tar -xf %{SOURCE1}
7e1da2
%endif
7e1da2
7e1da2
%patch0 -p1
7e1da2
%patch1 -p1
7e1da2
%patch2 -p1
7e1da2
%patch3 -p1
7e1da2
%patch4 -p1
7e1da2
afe2ee
# Patching of bundled libraries
afe2ee
pushd pip/_vendor/urllib3
afe2ee
%patch5 -p1
afe2ee
%patch6 -p1
afe2ee
%patch7 -p1
afe2ee
popd
afe2ee
pushd pip/_vendor/requests
afe2ee
%patch8 -p1
afe2ee
popd
1f106b
%patch9 -p1
1f106b
%if %{with tests}
1f106b
%patch10 -p1
1f106b
%endif
4cae43
%patch11 -p1
afe2ee
7e1da2
# this goes together with patch4
7e1da2
rm pip/_vendor/certifi/*.pem
1f106b
rm pip/_vendor/requests/*.pem
7e1da2
sed -i '/\.pem$/d' pip.egg-info/SOURCES.txt
7e1da2
7e1da2
sed -i '1d' pip/__init__.py
7e1da2
7e1da2
# Remove ordereddict as it is only required for python <= 2.6
7e1da2
rm pip/_vendor/ordereddict.py
7e1da2
7e1da2
7e1da2
%build
7e1da2
%if %{without bootstrap}
7e1da2
%py3_build_wheel
7e1da2
%else
7e1da2
%py3_build
7e1da2
%endif
7e1da2
7e1da2
%if %{with doc}
7e1da2
pushd docs
7e1da2
make html
7e1da2
make man
7e1da2
rm _build/html/.buildinfo
7e1da2
popd
7e1da2
%endif
7e1da2
7e1da2
7e1da2
%install
7e1da2
%if %{without bootstrap}
7e1da2
%py3_install_wheel %{python3_wheelname}
7e1da2
%else
7e1da2
%py3_install
7e1da2
%endif
7e1da2
7e1da2
rm %{buildroot}%{_bindir}/pip
7e1da2
7e1da2
%if %{with doc}
7e1da2
install -d %{buildroot}%{_mandir}/man1
7e1da2
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip3.1
7e1da2
%endif # with doc
7e1da2
7e1da2
mkdir -p %{buildroot}%{bashcompdir}
7e1da2
PYTHONPATH=%{buildroot}%{python3_sitelib} \
7e1da2
    %{buildroot}%{_bindir}/pip3 completion --bash \
7e1da2
    > %{buildroot}%{bashcompdir}/pip3
7853ac
7853ac
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 pip3 pip-3 pip3.6 pip-3.6/" \
7e1da2
    -e s/_pip_completion/_pip3_completion/ \
7e1da2
    %{buildroot}%{bashcompdir}/pip3
7e1da2
7e1da2
# Provide symlinks to executables to comply with Fedora guidelines for Python
7e1da2
mv %{buildroot}%{_bindir}/pip3 %{buildroot}%{_bindir}/pip%{python3_version}
7e1da2
ln -s ./pip%{python3_version} %{buildroot}%{_bindir}/pip-%{python3_version}
7e1da2
7e1da2
# Change shebang in /usr/bin/pip3.6 to /usr/bin/python3.6
7e1da2
pathfix.py -i /usr/bin/python%{python3_version} -np %{buildroot}%{_bindir}/pip%{python3_version}
7e1da2
7e1da2
# Make sure the INSTALLER is not pip, otherwise pip-nowarn-upgrade.patch
7e1da2
# (Patch3) won't work
7e1da2
echo rpm > %{buildroot}%{python3_sitelib}/pip-%{version}.dist-info/INSTALLER
7e1da2
c6d4a6
%if %{without bootstrap}
c6d4a6
mkdir -p %{buildroot}%{python3_wheeldir}
c6d4a6
install -p dist/%{python3_wheelname} -t %{buildroot}%{python3_wheeldir}
c6d4a6
%endif
7e1da2
7e1da2
%if %{with tests}
7e1da2
%check
7e1da2
py.test-%{python3_version} -m 'not network'
7e1da2
%endif
7e1da2
7e1da2
7e1da2
%files -n platform-python-%{srcname}
7e1da2
%license LICENSE.txt
7e1da2
%doc README.rst
7e1da2
%if %{with doc}
7e1da2
%{_mandir}/man1/pip3.*
7e1da2
%endif
7e1da2
%{python3_sitelib}/pip*
7e1da2
7e1da2
%files -n python%{python3_pkgversion}-%{srcname}
7e1da2
%license LICENSE.txt
7e1da2
%doc README.rst
7e1da2
# The pip3 binary is created using alternatives
7e1da2
# defined in the python36 package
7e1da2
%{_bindir}/pip%{python3_version}
7e1da2
%{_bindir}/pip-%{python3_version}
c6d4a6
%dir %{bashcompdir}
7853ac
%{bashcompdir}/pip*
7e1da2
7e1da2
%if %{with doc}
7e1da2
%files doc
7e1da2
%license LICENSE.txt
7e1da2
%doc README.rst
7e1da2
%doc docs/_build/html
7e1da2
%endif # with doc
7e1da2
c6d4a6
%if %{without bootstrap}
c6d4a6
%files -n python3-%{srcname}-wheel
c6d4a6
%license LICENSE.txt
c6d4a6
# we own the dir for simplicity
c6d4a6
%dir %{python3_wheeldir}/
c6d4a6
%{python3_wheeldir}/%{python3_wheelname}
c6d4a6
%endif
c6d4a6
7e1da2
%changelog
4cae43
* Mon Jun 07 2021 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-20
4cae43
- Fix for CVE-2021-3572 - pip incorrectly handled unicode separators in git references
4cae43
Resolves: rhbz#1962856
4cae43
7853ac
* Fri Jan 08 2021 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-19
7853ac
- Fix bash completion files and simplify spec
7853ac
Resolves: rhbz#1904478
7853ac
1f106b
* Wed Aug 19 2020 Tomas Orsava <torsava@redhat.com> - 9.0.3-18
1f106b
- Patch for pip install <url> allow directory traversal, leading to arbitrary file write
1f106b
Resolves: rhbz#1868016
1f106b
1f106b
* Wed Mar 04 2020 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-17
1f106b
- Remove unused CA bundle from the bundled requests library
1f106b
Resolves: rhbz#1775200
1f106b
afe2ee
* Mon Jan 13 2020 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-16
afe2ee
- Add four new patches for CVEs in bundled urllib3 and requests
afe2ee
CVE-2018-20060, CVE-2019-11236, CVE-2019-11324, CVE-2018-18074
afe2ee
Resolves: rhbz#1649153
afe2ee
Resolves: rhbz#1700824
afe2ee
Resolves: rhbz#1702473
afe2ee
Resolves: rhbz#1643829
afe2ee
c6d4a6
* Thu Jun 06 2019 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-15
c6d4a6
- Create python-pip-wheel package with the wheel
c6d4a6
Resolves: rhbz#1718031
c6d4a6
c6d4a6
* Wed Mar 13 2019 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-14
c6d4a6
- Move bash completion files from platform-python- to python3- subpackage
c6d4a6
- resolves: rhbz#1664749
c6d4a6
7e1da2
* Mon Dec 03 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-13
7e1da2
- Use the system level root certificate instead of the one bundled in certifi
7e1da2
- Resolves: rhbz#1655255
7e1da2
7e1da2
* Wed Nov 28 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-12
7e1da2
- Do not show the "new version of pip" warning outside of venv
7e1da2
- Resolves: rhbz#1656171
7e1da2
7e1da2
* Mon Nov 19 2018 Victor Stinner <vstinner@redhat.com> - 9.0.3-11
7e1da2
- Prevent removing of the system packages installed under /usr/lib
7e1da2
  when pip install -U is executed. Patch by Michal Cyprian.
7e1da2
  Resolves: rhbz#1626408.
7e1da2
7e1da2
* Fri Nov 16 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-10
7e1da2
- Bump the NVR so it's higher than previous builds of python3-pip that have
7e1da2
  mistakenly gotten into the python27 module build when we were dealing with an
7e1da2
  MBS filtering problem. See BZ#1650568.
7e1da2
- Resolves: rhbz#1638836
7e1da2
7e1da2
* Mon Nov 12 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-6
7e1da2
- python3-pip requires python36 and obsoletes previous version
7e1da2
  where python3- and platform-python- were in one package
7e1da2
- Resolves: rhbz#1638836
7e1da2
7e1da2
* Mon Oct 22 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-5
7e1da2
- Split part of the python3-pip package into platform-python-pip
7e1da2
- python3-pip will only contain binaries in /usr/bin
7e1da2
- Resolves: rhbz#1638836
7e1da2
7e1da2
* Mon Aug 06 2018 Petr Viktorin <pviktori@redhat.com> - 9.0.3-4
7e1da2
- Remove the python2 subpackage
7e1da2
- Remove unversioned executables (only *-3.6 should be provided)
7e1da2
7e1da2
* Mon Aug 06 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-3
7e1da2
- Correct license information
7e1da2
7e1da2
* Mon Jun 25 2018 Petr Viktorin <pviktori@redhat.com> - 9.0.3-2
7e1da2
- Don't build the python2 subpackage
7e1da2
  https://bugzilla.redhat.com/show_bug.cgi?id=1594335
7e1da2
7e1da2
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-1
7e1da2
- Update to 9.0.3
7e1da2
7e1da2
* Wed Feb 21 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.1-16
7e1da2
- Include built HTML documentation (in the new -doc subpackage) and man page
7e1da2
7e1da2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-15
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7e1da2
7e1da2
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-14
7e1da2
- Reintroduce the ipaddress module in the python3 subpackage.
7e1da2
7e1da2
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-13
7e1da2
- Add virtual provides for the bundled libraries. (rhbz#1096912)
7e1da2
7e1da2
* Tue Aug 29 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-12
7e1da2
- Switch macros to bcond's and make Python 2 optional to facilitate building
7e1da2
  the Python 2 and Python 3 modules
7e1da2
7e1da2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-11
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7e1da2
7e1da2
* Tue May 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-10
7e1da2
- Modernized package descriptions
7e1da2
Resolves: rhbz#1452568
7e1da2
7e1da2
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-9
7e1da2
- Fix typo in the sudo pip warning
7e1da2
7e1da2
* Fri Mar 03 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-8
7e1da2
- Patch 1 update: No sudo pip warning in venv or virtualenv
7e1da2
7e1da2
* Thu Feb 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-7
7e1da2
- Patch 1 update: Customize the warning with the proper version of the pip
7e1da2
  command
7e1da2
7e1da2
* Tue Feb 14 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-6
7e1da2
- Added patch 1: Emit a warning when running with root privileges
7e1da2
7e1da2
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7e1da2
7e1da2
* Mon Jan 02 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-4
7e1da2
- Provide symlinks to executables to comply with Fedora guidelines for Python
7e1da2
Resolves: rhbz#1406922
7e1da2
7e1da2
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-3
7e1da2
- Rebuild for Python 3.6 with wheel
7e1da2
7e1da2
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-2
7e1da2
- Rebuild for Python 3.6 without wheel
7e1da2
7e1da2
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 9.0.1-1
7e1da2
- Update to 9.0.1
7e1da2
7e1da2
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 8.1.2-5
7e1da2
- Enable EPEL Python 3 builds
7e1da2
- Use new python macros
7e1da2
- Cleanup spec
7e1da2
7e1da2
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-4
7e1da2
- Updated the test sources
7e1da2
7e1da2
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3
7e1da2
- Moved python-pip into the python2-pip subpackage
7e1da2
- Added the python_provide macro
7e1da2
7e1da2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.2-2
7e1da2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
7e1da2
7e1da2
* Tue May 17 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-1
7e1da2
- Update to 8.1.2
7e1da2
- Moved to a new PyPI URL format
7e1da2
- Updated the prefix-stripping patch because of upstream changes in pip/wheel.py
7e1da2
7e1da2
* Mon Feb 22 2016 Slavek Kabrda <bkabrda@redhat.com> - 8.0.2-1
7e1da2
- Update to 8.0.2
7e1da2
7e1da2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-4
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7e1da2
7e1da2
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-3
7e1da2
- Rebuilt for Python3.5 rebuild
7e1da2
- With wheel set to 1
7e1da2
7e1da2
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-2
7e1da2
- Rebuilt for Python3.5 rebuild
7e1da2
7e1da2
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
7e1da2
- Update to 7.1.0
7e1da2
7e1da2
* Tue Jun 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 7.0.3-3
7e1da2
- Install bash completion
7e1da2
- Ship LICENSE.txt as %%license where available
7e1da2
7e1da2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.3-2
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e1da2
7e1da2
* Thu Jun 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 7.0.3-1
7e1da2
- Update to 7.0.3
7e1da2
7e1da2
* Fri Mar 06 2015 Matej Stuchlik <mstuchli@redhat.com> - 6.0.8-1
7e1da2
- Update to 6.0.8
7e1da2
7e1da2
* Thu Dec 18 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.5.6-5
7e1da2
- Only enable tests on Fedora.
7e1da2
7e1da2
* Mon Dec 01 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-4
7e1da2
- Add tests
7e1da2
- Add patch skipping tests requiring Internet access
7e1da2
7e1da2
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-3
7e1da2
- Added patch for local dos with predictable temp dictionary names
7e1da2
  (http://seclists.org/oss-sec/2014/q4/655)
7e1da2
7e1da2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7e1da2
7e1da2
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-1
7e1da2
- Update to 1.5.6
7e1da2
7e1da2
* Fri Apr 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-4
7e1da2
- Rebuild as wheel for Python 3.4
7e1da2
7e1da2
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-3
7e1da2
- Disable build_wheel
7e1da2
7e1da2
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-2
7e1da2
- Rebuild as wheel for Python 3.4
7e1da2
7e1da2
* Mon Apr 07 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-1
7e1da2
- Updated to 1.5.4
7e1da2
7e1da2
* Mon Oct 14 2013 Tim Flink <tflink@fedoraproject.org> - 1.4.1-1
7e1da2
- Removed patch for CVE 2013-2099 as it has been included in the upstream 1.4.1 release
7e1da2
- Updated version to 1.4.1
7e1da2
7e1da2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7e1da2
7e1da2
* Tue Jul 16 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-4
7e1da2
- Fix for CVE 2013-2099
7e1da2
7e1da2
* Thu May 23 2013 Tim Flink <tflink@fedoraproject.org> - 1.3.1-3
7e1da2
- undo python2 executable rename to python-pip. fixes #958377
7e1da2
- fix summary to match upstream
7e1da2
7e1da2
* Mon May 06 2013 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.3.1-2
7e1da2
- Fix main package Summary, it's for Python 2, not 3 (#877401)
7e1da2
7e1da2
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - 1.3.1-1
7e1da2
- Update to 1.3.1, fix for CVE-2013-1888.
7e1da2
7e1da2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7e1da2
7e1da2
* Tue Oct 09 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-2
7e1da2
- Fixing files for python3-pip
7e1da2
7e1da2
* Thu Oct 04 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-1
7e1da2
- Update to upstream 1.2.1
7e1da2
- Change binary from pip-python to python-pip (RHBZ#855495)
7e1da2
- Add alias from python-pip to pip-python, to be removed at a later date
7e1da2
7e1da2
* Tue May 15 2012 Tim Flink <tflink@fedoraproject.org> - 1.1.0-1
7e1da2
- Update to upstream 1.1.0
7e1da2
7e1da2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7e1da2
7e1da2
* Sat Oct 22 2011 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
7e1da2
- update to 1.0.2 and added python3 subpackage
7e1da2
7e1da2
* Wed Jun 22 2011 Tim Flink <tflink@fedoraproject.org> - 0.8.3-1
7e1da2
- update to 0.8.3 and project home page
7e1da2
7e1da2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7e1da2
7e1da2
* Mon Dec 20 2010 Luke Macken <lmacken@redhat.com> - 0.8.2-1
7e1da2
- update to 0.8.2 of pip
7e1da2
* Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1
7e1da2
- update to 0.8 of pip
7e1da2
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5
7e1da2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
7e1da2
7e1da2
* Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1
7e1da2
- update to 0.7.2 of pip
7e1da2
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
7e1da2
- update to 0.7.1 of pip
7e1da2
* Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4
7e1da2
- fix dependency issue
7e1da2
* Fri Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
7e1da2
- fix spec file
7e1da2
* Thu Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
7e1da2
- upgrade to 0.6.1 of pip
7e1da2
* Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
7e1da2
- Initial package
7e1da2