Blame SPECS/python-pip.spec

372d73
%bcond_with bootstrap
372d73
%bcond_with tests
372d73
372d73
# RHEL7: Disabled building of python2, but keeping it in the spec to keep the
372d73
# spec as similar as possible with RHEL8/Fedora
372d73
%bcond_with python2
372d73
%bcond_without python3
372d73
# RHEL7: Disabled building of docs, because we don't ship its build
372d73
# dependencies in RHEL7
372d73
%bcond_with doc
372d73
372d73
# RHEL7: Due to EPEL the python3_pkgversion is defined as 36, but the actual RHEL7 components will use the python3- prefix
372d73
%global python3_pkgversion 3
372d73
372d73
%global srcname pip
372d73
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
372d73
%if %{without bootstrap}
372d73
%if %{with python2}
372d73
%global python2_wheelname %python_wheelname
372d73
%endif
372d73
%if %{with python3}
372d73
%global python3_wheelname %python_wheelname
372d73
%endif
372d73
%endif
372d73
372d73
# Note that with disabled python3, bashcomp2 will be disabled as well because
372d73
# bashcompdir will point to a different path than with python3 enabled.
372d73
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
372d73
%if "%{bashcompdir}" != "%{_sysconfdir}/bash_completion.d"
372d73
%global bashcomp2 1
372d73
%endif
372d73
372d73
Name:           python-%{srcname}
372d73
# When updating, update the bundled libraries versions bellow!
372d73
Version:        9.0.3
40079d
Release:        8%{?dist}
372d73
Summary:        A tool for installing and managing Python packages
372d73
372d73
Group:          Development/Libraries
372d73
License:        MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
372d73
URL:            http://www.pip-installer.org
372d73
Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
372d73
372d73
BuildArch:      noarch
372d73
372d73
372d73
# Workaround for rhbz#1691402:
372d73
# Define __python to be /usr/bin/python3 so that brp-python-bytecompile uses it
372d73
# as the default_python, and doesn't exit bytecompilation when it doesn't find
372d73
# /usr/bin/python, which is not installed
372d73
%global __python %{__python3}
372d73
372d73
372d73
%if %{with tests}
372d73
BuildRequires:  git
372d73
BuildRequires:  bzr
372d73
%endif
372d73
372d73
# to get tests:
372d73
# git clone https://github.com/pypa/pip && cd pip
372d73
# git checkout 9.0.3 && tar -czvf ../pip-9.0.3-tests.tar.gz tests/
372d73
%if %{with tests}
372d73
Source1:        pip-9.0.3-tests.tar.gz
372d73
%endif
372d73
372d73
# Patch until the following issue gets implemented upstream:
372d73
# https://github.com/pypa/pip/issues/1351
372d73
Patch0:         allow-stripping-given-prefix-from-wheel-RECORD-files.patch
372d73
372d73
# Downstream only patch
372d73
# Emit a warning to the user if pip install is run with root privileges
372d73
# Issue upstream: https://github.com/pypa/pip/issues/4288
372d73
Patch1:         emit-a-warning-when-running-with-root-privileges.patch
372d73
372d73
372d73
# WIP upstream patch https://github.com/pypa/pip/issues/5346
372d73
# https://bugzilla.redhat.com/show_bug.cgi?id=1573755
372d73
Patch2:         pip-nowarn-upgrade.patch
372d73
372d73
# Prevent removing of the system packages installed under /usr/lib
372d73
# when pip install -U is executed.
372d73
# https://bugzilla.redhat.com/show_bug.cgi?id=1550368#c24
372d73
Patch3:         remove-existing-dist-only-if-path-conflicts.patch
372d73
372d73
# Use the system level root certificate instead of the one bundled in certifi
372d73
# https://bugzilla.redhat.com/show_bug.cgi?id=1655253
372d73
Patch4:         dummy-certifi.patch
372d73
69f732
# Patch for CVE in the bundled urllib3
69f732
# CVE-2018-20060 Cross-host redirect does not remove Authorization header allow for credential exposure
69f732
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-20060
69f732
Patch5:         CVE-2018-20060.patch
69f732
69f732
# Patch for CVE in the bundled urllib3
69f732
# CVE-2019-11236 CRLF injection due to not encoding the '\r\n' sequence leading to possible attack on internal service
69f732
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11236
69f732
Patch6:         CVE-2019-11236.patch
69f732
69f732
# Patch for CVE in the bundled urllib3
69f732
# CVE-2019-11324 Certification mishandle when error should be thrown
69f732
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11324
69f732
Patch7:         CVE-2019-11324.patch
69f732
69f732
# Patch for CVE in the bundled requests
69f732
# CVE-2018-18074 Redirect from HTTPS to HTTP does not remove Authorization header
69f732
# This patch fixes both the CVE
69f732
# https://bugzilla.redhat.com/show_bug.cgi?id=1643829
69f732
# and the subsequent regression
69f732
# https://github.com/psf/requests/pull/4851
69f732
Patch8:         CVE-2018-18074.patch
69f732
372d73
# Downstream only patch
372d73
# Users are upgrading pip9 to pip10 by various manners,
372d73
# one of them is `pip install --user --upgrade pip`.
372d73
# If they do that and they run `pip` or  `pip3`, the one from /usr/bin is used.
372d73
# However that's the one from this RPM package (pip9) and the import in there
372d73
# fails (it tries to import from ~/.local, but pip10 is there with a bit
372d73
# different API).
372d73
# We add this patch as a dirty workaround to make /usr/bin/pip* work with
372d73
# both pip9 (from this RPM) and pip10 (from whatever).
372d73
# A proper fix is to put ~/.local/bin in front of /usr/bin in the PATH,
372d73
# however others are against that and we cannot change it for existing
372d73
# installs/user homes anyway.
372d73
# https://bugzilla.redhat.com/show_bug.cgi?id=1569488
372d73
# https://bugzilla.redhat.com/show_bug.cgi?id=1571650
372d73
# WARNING: /usr/bin/pip* are entrypoints, this cannot be applied in %%prep!
372d73
# %%patch10 doesn't work outside of %%prep, so we add it as a source
372d73
Source10:        pip9-allow-pip10-import.patch
372d73
372d73
%description
372d73
pip is a package management system used to install and manage software packages
372d73
written in Python. Many packages can be found in the Python Package Index
372d73
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
372d73
Packages" or "Pip Installs Python".
372d73
372d73
372d73
%if %{with python2}
372d73
%package -n python2-%{srcname}
372d73
Summary:        A tool for installing and managing Python 2 packages
372d73
Group:          Development/Libraries
372d73
BuildRequires:  python2-devel
372d73
BuildRequires:  python2-setuptools
372d73
%if %{with tests}
372d73
BuildRequires:  python2-mock
372d73
BuildRequires:  python2-pytest
372d73
BuildRequires:  python2-pretend
372d73
BuildRequires:  python2-freezegun
372d73
BuildRequires:  python2-pytest-capturelog
372d73
BuildRequires:  python2-scripttest
372d73
BuildRequires:  python2-virtualenv
372d73
%endif
372d73
%if %{without bootstrap}
372d73
BuildRequires:  python2-pip
372d73
BuildRequires:  python2-wheel
372d73
%endif
372d73
Requires:       python2-setuptools
372d73
372d73
# Virtual provides for the packages bundled by pip.
372d73
# You can find the versions in pip/_vendor/vendor.txt file.
372d73
# Don't forget to update this bellow for python3 as well.
372d73
Provides: bundled(python2dist(appdirs)) = 1.4.0
372d73
Provides: bundled(python2dist(cachecontrol)) = 0.11.7
372d73
Provides: bundled(python2dist(colorama)) = 0.3.7
372d73
Provides: bundled(python2dist(distlib)) = 0.2.4
372d73
Provides: bundled(python2dist(distro)) = 1.0.1
372d73
Provides: bundled(python2dist(html5lib)) = 1.0b10
372d73
Provides: bundled(python2dist(ipaddress) = 1.0.17
372d73
Provides: bundled(python2dist(lockfile)) = 0.12.2
372d73
Provides: bundled(python2dist(packaging)) = 16.8
372d73
Provides: bundled(python2dist(setuptools)) = 28.8.0
372d73
Provides: bundled(python2dist(progress)) = 1.2
372d73
Provides: bundled(python2dist(pyparsing)) = 2.1.10
372d73
Provides: bundled(python2dist(requests)) = 2.11.1
372d73
Provides: bundled(python2dist(retrying)) = 1.3.3
372d73
Provides: bundled(python2dist(six)) = 1.10.0
372d73
Provides: bundled(python2dist(webencodings)) = 0.5
372d73
372d73
# Bundled within the requests bundle
372d73
Provides: bundled(python2dist(chardet)) = 2.3.0
372d73
Provides: bundled(python2dist(urllib3)) = 1.16
372d73
372d73
%{?python_provide:%python_provide python2-%{srcname}}
372d73
372d73
%description -n python2-%{srcname}
372d73
pip is a package management system used to install and manage software packages
372d73
written in Python. Many packages can be found in the Python Package Index
372d73
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
372d73
Packages" or "Pip Installs Python".
372d73
372d73
%endif # with python2
372d73
372d73
372d73
%if %{with python3}
372d73
%package -n python%{python3_pkgversion}-%{srcname}
372d73
Summary:        A tool for installing and managing Python3 packages
372d73
Group:          Development/Libraries
372d73
372d73
BuildRequires:  python%{python3_pkgversion}-devel
372d73
# RHEL7: python-pip is rebuilt before the final build of python3, which
372d73
# adds the dependency on python3-rpm-generators, so we require it manually.
372d73
BuildRequires:  python%{python3_pkgversion}-rpm-generators
372d73
BuildRequires:  python%{python3_pkgversion}-setuptools
372d73
BuildRequires:  bash-completion
372d73
%if %{with tests}
372d73
BuildRequires:  python%{python3_pkgversion}-mock
372d73
BuildRequires:  python%{python3_pkgversion}-pytest
372d73
BuildRequires:  python%{python3_pkgversion}-pretend
372d73
BuildRequires:  python%{python3_pkgversion}-freezegun
372d73
BuildRequires:  python%{python3_pkgversion}-pytest-capturelog
372d73
BuildRequires:  python%{python3_pkgversion}-scripttest
372d73
BuildRequires:  python%{python3_pkgversion}-virtualenv
372d73
%endif
372d73
%if %{without bootstrap}
372d73
BuildRequires:  python%{python3_pkgversion}-pip
372d73
BuildRequires:  python%{python3_pkgversion}-wheel
372d73
%endif
372d73
Requires:  python%{python3_pkgversion}-setuptools
372d73
372d73
# Virtual provides for the packages bundled by pip.
372d73
# See the python2 list above for instructions.
372d73
Provides: bundled(python3dist(appdirs)) = 1.4.0
372d73
Provides: bundled(python3dist(cachecontrol)) = 0.11.7
372d73
Provides: bundled(python3dist(colorama)) = 0.3.7
372d73
Provides: bundled(python3dist(distlib)) = 0.2.4
372d73
Provides: bundled(python3dist(distro)) = 1.0.1
372d73
Provides: bundled(python3dist(html5lib)) = 1.0b10
372d73
Provides: bundled(python3dist(ipaddress) = 1.0.17
372d73
Provides: bundled(python3dist(lockfile)) = 0.12.2
372d73
Provides: bundled(python3dist(packaging)) = 16.8
372d73
Provides: bundled(python3dist(setuptools)) = 28.8.0
372d73
Provides: bundled(python3dist(progress)) = 1.2
372d73
Provides: bundled(python3dist(pyparsing)) = 2.1.10
372d73
Provides: bundled(python3dist(requests)) = 2.11.1
372d73
Provides: bundled(python3dist(retrying)) = 1.3.3
372d73
Provides: bundled(python3dist(six)) = 1.10.0
372d73
Provides: bundled(python3dist(webencodings)) = 0.5
372d73
372d73
# Bundled within the requests bundle
372d73
Provides: bundled(python3dist(chardet)) = 2.3.0
372d73
Provides: bundled(python3dist(urllib3)) = 1.16
372d73
372d73
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
372d73
372d73
# We're replacing the functionality of the python36 packages from EPEL
372d73
Provides: python36-pip = %{version}-%{release}
372d73
Obsoletes: python36-pip < %{version}-%{release}
372d73
372d73
%description -n python%{python3_pkgversion}-%{srcname}
372d73
pip is a package management system used to install and manage software packages
372d73
written in Python. Many packages can be found in the Python Package Index
372d73
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
372d73
Packages" or "Pip Installs Python".
372d73
372d73
%if %{with doc}
372d73
%package doc
372d73
Summary:        A documentation for a tool for installing and managing Python packages
372d73
372d73
BuildRequires:  python%{python3_pkgversion}-sphinx
372d73
372d73
%description doc
372d73
A documentation for a tool for installing and managing Python packages
372d73
372d73
%endif
372d73
372d73
%endif # with python3
372d73
372d73
372d73
%prep
372d73
%if %{with doc} && %{without python3}
372d73
echo "This combination (with doc, without python3) is unsupported"
372d73
exit 1
372d73
%endif
372d73
372d73
%setup -q -n %{srcname}-%{version}
372d73
%if %{with tests}
372d73
tar -xf %{SOURCE1}
372d73
%endif
372d73
372d73
%patch0 -p1
372d73
%patch1 -p1
372d73
%patch2 -p1
372d73
%patch3 -p1
372d73
%patch4 -p1
372d73
69f732
# Patching of bundled libraries
69f732
pushd pip/_vendor/urllib3
69f732
%patch5 -p1
69f732
%patch6 -p1
69f732
%patch7 -p1
69f732
popd
69f732
pushd pip/_vendor/requests
69f732
%patch8 -p1
69f732
popd
69f732
372d73
# this goes together with patch4
372d73
rm pip/_vendor/certifi/*.pem
40079d
rm pip/_vendor/requests/*.pem
372d73
sed -i '/\.pem$/d' pip.egg-info/SOURCES.txt
372d73
372d73
sed -i '1d' pip/__init__.py
372d73
372d73
# Remove ordereddict as it is only required for python <= 2.6
372d73
rm pip/_vendor/ordereddict.py
372d73
372d73
372d73
%build
372d73
%if %{with python2}
372d73
%if %{without bootstrap}
372d73
%py2_build_wheel
372d73
%else
372d73
%py2_build
372d73
%endif
372d73
%endif # with python2
372d73
372d73
%if %{with python3}
372d73
%if %{without bootstrap}
372d73
%py3_build_wheel
372d73
%else
372d73
%py3_build
372d73
%endif
372d73
%endif # with python3
372d73
372d73
%if %{with doc}
372d73
pushd docs
372d73
make html
372d73
make man
372d73
rm _build/html/.buildinfo
372d73
popd
372d73
%endif
372d73
372d73
372d73
%install
372d73
%if %{with python3}
372d73
%if %{without bootstrap}
372d73
%py3_install_wheel %{python3_wheelname}
372d73
%else
372d73
%py3_install
372d73
%endif
372d73
372d73
# TODO: we have to remove this by hand now, but it'd be nice if we wouldn't have to
372d73
# (pip install wheel doesn't overwrite)
372d73
rm %{buildroot}%{_bindir}/pip
372d73
%endif # with python3
372d73
372d73
%if %{with doc}
372d73
install -d %{buildroot}%{_mandir}/man1
372d73
%if %{with python2}
372d73
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip.1
372d73
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip2.1
372d73
%endif
372d73
%if %{with python3}
372d73
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip3.1
372d73
%endif
372d73
%endif # with doc
372d73
372d73
%if %{with python2}
372d73
%if %{without bootstrap}
372d73
%py2_install_wheel %{python2_wheelname}
372d73
%else
372d73
%py2_install
372d73
%endif
372d73
%endif # with python2
372d73
372d73
# before we ln -s anything, we apply Source10 patch to all pips:
372d73
# we don't do this when bootstrapping because the entrypoints look different
372d73
# this is not worth dealing with because we'll rebuild once more anyway
372d73
%if %{without bootstrap}
372d73
for PIP in %{buildroot}%{_bindir}/pip*; do
372d73
  patch -p1 $PIP < %{SOURCE10}
372d73
done
372d73
%endif # without bootstrap
372d73
372d73
mkdir -p %{buildroot}%{bashcompdir}
372d73
%if %{with python2}
372d73
PYTHONPATH=%{buildroot}%{python2_sitelib} \
372d73
    %{buildroot}%{_bindir}/pip completion --bash \
372d73
    > %{buildroot}%{bashcompdir}/pip
372d73
%endif
372d73
%if %{with python3}
372d73
PYTHONPATH=%{buildroot}%{python3_sitelib} \
372d73
    %{buildroot}%{_bindir}/pip3 completion --bash \
372d73
    > %{buildroot}%{bashcompdir}/pip3
372d73
%endif
372d73
pips2=pip
372d73
pips3=pip3
372d73
for pip in %{buildroot}%{_bindir}/pip*; do
372d73
    pip=$(basename $pip)
372d73
    case $pip in
372d73
%if %{with python2}
372d73
        pip2*)
372d73
            pips2="$pips2 $pip"
372d73
%if 0%{?bashcomp2}
372d73
            ln -s pip %{buildroot}%{bashcompdir}/$pip
372d73
%endif
372d73
            ;;
372d73
%endif
372d73
%if %{with python3}
372d73
        pip3?*)
372d73
            pips3="$pips3 $pip"
372d73
%if 0%{?bashcomp2}
372d73
            ln -s pip3 %{buildroot}%{bashcompdir}/$pip
372d73
%endif
372d73
            ;;
372d73
%endif
372d73
    esac
372d73
done
372d73
%if %{with python3}
372d73
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips3/" \
372d73
    -e s/_pip_completion/_pip3_completion/ \
372d73
    %{buildroot}%{bashcompdir}/pip3
372d73
%endif
372d73
%if %{with python2}
372d73
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips2/" \
372d73
    %{buildroot}%{bashcompdir}/pip
372d73
%endif
372d73
372d73
# Provide symlinks to executables to comply with Fedora guidelines for Python
372d73
%if %{with python2}
372d73
ln -s ./pip%{python2_version} %{buildroot}%{_bindir}/pip-%{python2_version}
372d73
ln -s ./pip-%{python2_version} %{buildroot}%{_bindir}/pip-2
372d73
%endif
372d73
%if %{with python3}
372d73
ln -s ./pip%{python3_version} %{buildroot}%{_bindir}/pip-%{python3_version}
372d73
ln -s ./pip-%{python3_version} %{buildroot}%{_bindir}/pip-3
372d73
%endif
372d73
372d73
372d73
# Make sure the INSTALLER is not pip, otherwise Patch2 won't work
372d73
# TODO Maybe we should make all our python packages have this?
372d73
%if %{without bootstrap}
372d73
%if %{with python2}
372d73
echo rpm > %{buildroot}%{python2_sitelib}/pip-%{version}.dist-info/INSTALLER
372d73
%endif
372d73
%if %{with python3}
372d73
echo rpm > %{buildroot}%{python3_sitelib}/pip-%{version}.dist-info/INSTALLER
372d73
%endif
372d73
%endif
372d73
372d73
%if %{with tests}
372d73
%check
372d73
%if %{with python2}
372d73
py.test-%{python2_version} -m 'not network'
372d73
%endif
372d73
%if %{with python3}
372d73
py.test-%{python3_version} -m 'not network'
372d73
%endif
372d73
%endif
372d73
372d73
372d73
%if %{with python2}
372d73
%files -n python2-%{srcname}
372d73
%license LICENSE.txt
372d73
%doc README.rst
372d73
%if %{with doc}
372d73
%{_mandir}/man1/pip.*
372d73
%{_mandir}/man1/pip2.*
372d73
%endif
372d73
%{_bindir}/pip
372d73
%{_bindir}/pip2
372d73
%{_bindir}/pip-2
372d73
%{_bindir}/pip%{python2_version}
372d73
%{_bindir}/pip-%{python2_version}
372d73
%{python2_sitelib}/pip*
372d73
%dir %{bashcompdir}
372d73
%{bashcompdir}/pip
372d73
%if 0%{?bashcomp2}
372d73
%{bashcompdir}/pip2*
372d73
%dir %(dirname %{bashcompdir})
372d73
%endif
372d73
%endif # with python2
372d73
372d73
%if %{with python3}
372d73
%files -n python%{python3_pkgversion}-%{srcname}
372d73
%license LICENSE.txt
372d73
%doc README.rst
372d73
%if %{with doc}
372d73
%{_mandir}/man1/pip3.*
372d73
%endif
372d73
%{_bindir}/pip3
372d73
%{_bindir}/pip-3
372d73
%{_bindir}/pip%{python3_version}
372d73
%{_bindir}/pip-%{python3_version}
372d73
%{python3_sitelib}/pip*
372d73
%dir %{bashcompdir}
372d73
%{bashcompdir}/pip3*
372d73
%if 0%{?bashcomp2}
372d73
%dir %(dirname %{bashcompdir})
372d73
%endif
372d73
372d73
%if %{with doc}
372d73
%files doc
372d73
%license LICENSE.txt
372d73
%doc README.rst
372d73
%doc docs/_build/html
372d73
%endif # with doc
372d73
%endif # with python3
372d73
372d73
%changelog
40079d
* Wed Mar 04 2020 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-8
40079d
- Remove unused CA bundle from the bundled requests library
40079d
Resolves: rhbz#1775203
40079d
69f732
* Thu Feb 13 2020 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-7
69f732
- Bump
69f732
Resolves: rhbz#1649153
69f732
Resolves: rhbz#1700824
69f732
Resolves: rhbz#1702473
69f732
Resolves: rhbz#1643829
69f732
69f732
* Thu Jan 09 2020 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-6
69f732
- Add four new patches for CVEs in bundled urllib3 and requests
69f732
CVE-2018-20060, CVE-2019-11236, CVE-2019-11324, CVE-2018-18074
69f732
Resolves: rhbz#1649153
69f732
Resolves: rhbz#1700824
69f732
Resolves: rhbz#1702473
69f732
Resolves: rhbz#1643829
69f732
372d73
* Thu Mar 21 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-5
372d73
- Add a workaround for a bug in bytecompilation (rhbz#1691402)
372d73
Resolves: rhbz#1660573
372d73
372d73
* Thu Mar 14 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-4
372d73
- Finish bootstrapping in RHEL-7.7
372d73
Resolves: rhbz#1660573
372d73
372d73
* Mon Jan 14 2019 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-3
372d73
- Converting pip specfile from F28 to RHEL7
372d73
- Disabled building of the Python 2 subpackage
372d73
- Disabled building of docs, because we don't ship its build dependencies in
372d73
  RHEL7
372d73
- Updated to a newer version of tests to match the package version
372d73
- Backported Patch3 and Patch4 from Fedora
372d73
Resolves: rhbz#1660573
372d73
372d73
* Fri May 04 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-2
372d73
- Allow to import pip10's main from pip9's /usr/bin/pip
372d73
- Do not show the "new version of pip" warning outside of venv
372d73
Resolves: rhbz#1569488
372d73
Resolves: rhbz#1571650
372d73
Resolves: rhbz#1573755
372d73
372d73
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-1
372d73
- Update to 9.0.3
372d73
372d73
* Wed Feb 21 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.1-16
372d73
- Include built HTML documentation (in the new -doc subpackage) and man page
372d73
372d73
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-15
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
372d73
372d73
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-14
372d73
- Reintroduce the ipaddress module in the python3 subpackage.
372d73
372d73
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-13
372d73
- Add virtual provides for the bundled libraries. (rhbz#1096912)
372d73
372d73
* Tue Aug 29 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-12
372d73
- Switch macros to bcond's and make Python 2 optional to facilitate building
372d73
  the Python 2 and Python 3 modules
372d73
372d73
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-11
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
372d73
372d73
* Tue May 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-10
372d73
- Modernized package descriptions
372d73
Resolves: rhbz#1452568
372d73
372d73
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-9
372d73
- Fix typo in the sudo pip warning
372d73
372d73
* Fri Mar 03 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-8
372d73
- Patch 1 update: No sudo pip warning in venv or virtualenv
372d73
372d73
* Thu Feb 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-7
372d73
- Patch 1 update: Customize the warning with the proper version of the pip
372d73
  command
372d73
372d73
* Tue Feb 14 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-6
372d73
- Added patch 1: Emit a warning when running with root privileges
372d73
372d73
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
372d73
372d73
* Mon Jan 02 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-4
372d73
- Provide symlinks to executables to comply with Fedora guidelines for Python
372d73
Resolves: rhbz#1406922
372d73
372d73
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-3
372d73
- Rebuild for Python 3.6 with wheel
372d73
372d73
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-2
372d73
- Rebuild for Python 3.6 without wheel
372d73
372d73
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 9.0.1-1
372d73
- Update to 9.0.1
372d73
372d73
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 8.1.2-5
372d73
- Enable EPEL Python 3 builds
372d73
- Use new python macros
372d73
- Cleanup spec
372d73
372d73
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-4
372d73
- Updated the test sources
372d73
372d73
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3
372d73
- Moved python-pip into the python2-pip subpackage
372d73
- Added the python_provide macro
372d73
372d73
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.2-2
372d73
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
372d73
372d73
* Tue May 17 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-1
372d73
- Update to 8.1.2
372d73
- Moved to a new PyPI URL format
372d73
- Updated the prefix-stripping patch because of upstream changes in pip/wheel.py
372d73
372d73
* Mon Feb 22 2016 Slavek Kabrda <bkabrda@redhat.com> - 8.0.2-1
372d73
- Update to 8.0.2
372d73
372d73
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-4
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
372d73
372d73
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-3
372d73
- Rebuilt for Python3.5 rebuild
372d73
- With wheel set to 1
372d73
372d73
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-2
372d73
- Rebuilt for Python3.5 rebuild
372d73
372d73
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
372d73
- Update to 7.1.0
372d73
372d73
* Tue Jun 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 7.0.3-3
372d73
- Install bash completion
372d73
- Ship LICENSE.txt as %%license where available
372d73
372d73
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.3-2
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
372d73
372d73
* Thu Jun 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 7.0.3-1
372d73
- Update to 7.0.3
372d73
372d73
* Fri Mar 06 2015 Matej Stuchlik <mstuchli@redhat.com> - 6.0.8-1
372d73
- Update to 6.0.8
372d73
372d73
* Thu Dec 18 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.5.6-5
372d73
- Only enable tests on Fedora.
372d73
372d73
* Mon Dec 01 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-4
372d73
- Add tests
372d73
- Add patch skipping tests requiring Internet access
372d73
372d73
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-3
372d73
- Added patch for local dos with predictable temp dictionary names
372d73
  (http://seclists.org/oss-sec/2014/q4/655)
372d73
372d73
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
372d73
372d73
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-1
372d73
- Update to 1.5.6
372d73
372d73
* Fri Apr 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-4
372d73
- Rebuild as wheel for Python 3.4
372d73
372d73
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-3
372d73
- Disable build_wheel
372d73
372d73
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-2
372d73
- Rebuild as wheel for Python 3.4
372d73
372d73
* Mon Apr 07 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-1
372d73
- Updated to 1.5.4
372d73
372d73
* Mon Oct 14 2013 Tim Flink <tflink@fedoraproject.org> - 1.4.1-1
372d73
- Removed patch for CVE 2013-2099 as it has been included in the upstream 1.4.1 release
372d73
- Updated version to 1.4.1
372d73
372d73
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
372d73
372d73
* Tue Jul 16 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-4
372d73
- Fix for CVE 2013-2099
372d73
372d73
* Thu May 23 2013 Tim Flink <tflink@fedoraproject.org> - 1.3.1-3
372d73
- undo python2 executable rename to python-pip. fixes #958377
372d73
- fix summary to match upstream
372d73
372d73
* Mon May 06 2013 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.3.1-2
372d73
- Fix main package Summary, it's for Python 2, not 3 (#877401)
372d73
372d73
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - 1.3.1-1
372d73
- Update to 1.3.1, fix for CVE-2013-1888.
372d73
372d73
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
372d73
372d73
* Tue Oct 09 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-2
372d73
- Fixing files for python3-pip
372d73
372d73
* Thu Oct 04 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-1
372d73
- Update to upstream 1.2.1
372d73
- Change binary from pip-python to python-pip (RHBZ#855495)
372d73
- Add alias from python-pip to pip-python, to be removed at a later date
372d73
372d73
* Tue May 15 2012 Tim Flink <tflink@fedoraproject.org> - 1.1.0-1
372d73
- Update to upstream 1.1.0
372d73
372d73
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
372d73
372d73
* Sat Oct 22 2011 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
372d73
- update to 1.0.2 and added python3 subpackage
372d73
372d73
* Wed Jun 22 2011 Tim Flink <tflink@fedoraproject.org> - 0.8.3-1
372d73
- update to 0.8.3 and project home page
372d73
372d73
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
372d73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
372d73
372d73
* Mon Dec 20 2010 Luke Macken <lmacken@redhat.com> - 0.8.2-1
372d73
- update to 0.8.2 of pip
372d73
* Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1
372d73
- update to 0.8 of pip
372d73
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5
372d73
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
372d73
372d73
* Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1
372d73
- update to 0.7.2 of pip
372d73
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
372d73
- update to 0.7.1 of pip
372d73
* Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4
372d73
- fix dependency issue
372d73
* Fri Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
372d73
- fix spec file 
372d73
* Thu Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
372d73
- upgrade to 0.6.1 of pip
372d73
* Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
372d73
- Initial package
372d73