Blame SPECS/python2-pip.spec

bd5b0e
%bcond_with bootstrap
bd5b0e
%bcond_with tests
bd5b0e
%bcond_with doc
bd5b0e
bd5b0e
%global srcname pip
bd5b0e
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
bd5b0e
%global python2_wheeldir %{_datadir}/python2-wheels
bd5b0e
%if %{without bootstrap}
bd5b0e
%global python2_wheelname %python_wheelname
bd5b0e
%endif
bd5b0e
bd5b0e
# Note that with disabled python3, bashcomp2 will be disabled as well because
bd5b0e
# bashcompdir will point to a different path than with python3 enabled.
bd5b0e
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
bd5b0e
%if "%{bashcompdir}" != "%{_sysconfdir}/bash_completion.d"
bd5b0e
%global bashcomp2 1
bd5b0e
%endif
bd5b0e
bd5b0e
Name:           python2-%{srcname}
bd5b0e
# When updating, update the bundled libraries versions bellow!
bd5b0e
Version:        9.0.3
bd5b0e
Release:        18%{?dist}
bd5b0e
Summary:        A tool for installing and managing Python 2 packages
bd5b0e
bd5b0e
Group:          Development/Libraries
bd5b0e
bd5b0e
# We bundle a lot of libraries with pip, which itself is under MIT license.
bd5b0e
# Here is the list of the libraries with corresponding licenses:
bd5b0e
bd5b0e
# appdirs: MIT
bd5b0e
# CacheControl: ASL 2.0
bd5b0e
# certifi: MPLv2.0
bd5b0e
# chardet: LGPLv2
bd5b0e
# colorama: BSD
bd5b0e
# distlib: Python
bd5b0e
# distro: ASL 2.0
bd5b0e
# html5lib: MIT
bd5b0e
# idna: BSD
bd5b0e
# ipaddress: Python
bd5b0e
# lockfile: MIT
bd5b0e
# packaging: ASL 2.0 or BSD
bd5b0e
# progress: ISC
bd5b0e
# pyparsing: MIT
bd5b0e
# requests: ASL 2.0
bd5b0e
# retrying: ASL 2.0
bd5b0e
# urllib3: MIT
bd5b0e
# six: MIT
bd5b0e
# urllib3: MIT
bd5b0e
# webencodings: BSD
bd5b0e
bd5b0e
License:        MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
bd5b0e
URL:            http://www.pip-installer.org
bd5b0e
Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
bd5b0e
# to get tests:
bd5b0e
# git clone https://github.com/pypa/pip && cd pip
bd5b0e
# git checkout 9.0.1 && tar -czvf ../pip-9.0.1-tests.tar.gz tests/
bd5b0e
%if %{with tests}
bd5b0e
Source1:        pip-%{version}-tests.tar.gz
bd5b0e
%endif
bd5b0e
# Manpage generated by sphinx from source tarball
bd5b0e
# cd pip-9.0.3/docs && make man && cp _build/man/pip.1 ../../pip2.1
bd5b0e
Source2:        pip2.1
bd5b0e
bd5b0e
BuildArch:      noarch
bd5b0e
bd5b0e
%if %{with tests}
bd5b0e
BuildRequires:  git
bd5b0e
BuildRequires:  bzr
bd5b0e
%endif
bd5b0e
bd5b0e
# Patch until the following issue gets implemented upstream:
bd5b0e
# https://github.com/pypa/pip/issues/1351
bd5b0e
Patch0:         allow-stripping-given-prefix-from-wheel-RECORD-files.patch
bd5b0e
bd5b0e
# Downstream only patch
bd5b0e
# Emit a warning to the user if pip install is run with root privileges
bd5b0e
# Issue upstream: https://github.com/pypa/pip/issues/4288
bd5b0e
Patch1:         emit-a-warning-when-running-with-root-privileges.patch
bd5b0e
bd5b0e
# Do not show the "new version of pip" warning outside of venv
bd5b0e
# Upstream issue: https://github.com/pypa/pip/issues/5346
bd5b0e
# Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1573755
bd5b0e
Patch3:         pip-nowarn-upgrade.patch
bd5b0e
bd5b0e
# Use the system level root certificate instead of the one bundled in certifi
bd5b0e
# https://bugzilla.redhat.com/show_bug.cgi?id=1655253
bd5b0e
Patch4:         dummy-certifi.patch
bd5b0e
bd5b0e
# Patch for CVE in the bundled urllib3
bd5b0e
# CVE-2018-20060 Cross-host redirect does not remove Authorization header allow for credential exposure
bd5b0e
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-20060
bd5b0e
Patch5:         CVE-2018-20060.patch
bd5b0e
bd5b0e
# Patch for CVE in the bundled urllib3
bd5b0e
# CVE-2019-11236 CRLF injection due to not encoding the '\r\n' sequence leading to possible attack on internal service
bd5b0e
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11236
bd5b0e
Patch6:         CVE-2019-11236.patch
bd5b0e
bd5b0e
# Patch for CVE in the bundled urllib3
bd5b0e
# CVE-2019-11324 Certification mishandle when error should be thrown
bd5b0e
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11324
bd5b0e
Patch7:         CVE-2019-11324.patch
bd5b0e
bd5b0e
# Patch for CVE in the bundled requests
bd5b0e
# CVE-2018-18074 Redirect from HTTPS to HTTP does not remove Authorization header
bd5b0e
# This patch fixes both the CVE
bd5b0e
# https://bugzilla.redhat.com/show_bug.cgi?id=1643829
bd5b0e
# and the subsequent regression
bd5b0e
# https://github.com/psf/requests/pull/4851
bd5b0e
Patch8:         CVE-2018-18074.patch
bd5b0e
bd5b0e
# Patch for pip install <url> allow directory traversal, leading to arbitrary file write
bd5b0e
# - Upstream PR: https://github.com/pypa/pip/pull/6418/files
bd5b0e
# - Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1870184
bd5b0e
# Patch9 fixes the issue
bd5b0e
# Patch10 adds unit tests for the issue
bd5b0e
Patch9:         pip-directory-traversal-security-issue.patch
bd5b0e
Patch10:        pip-directory-traversal-security-issue-tests.patch
bd5b0e
bd5b0e
BuildRequires:  python2-devel
bd5b0e
BuildRequires:  python2-setuptools
bd5b0e
%if %{with tests}
bd5b0e
BuildRequires:  python2-mock
bd5b0e
BuildRequires:  python2-pytest
bd5b0e
BuildRequires:  python2-pretend
bd5b0e
BuildRequires:  python2-freezegun
bd5b0e
BuildRequires:  python2-pytest-capturelog
bd5b0e
BuildRequires:  python2-scripttest
bd5b0e
BuildRequires:  python2-virtualenv
bd5b0e
%endif
bd5b0e
%if %{without bootstrap}
bd5b0e
BuildRequires:  python2-pip
bd5b0e
BuildRequires:  python2-wheel
bd5b0e
%endif
bd5b0e
Requires:       python2-setuptools
bd5b0e
bd5b0e
# Virtual provides for the packages bundled by pip.
bd5b0e
# You can find the versions in pip/_vendor/vendor.txt file.
bd5b0e
# Don't forget to update this bellow for python3 as well.
bd5b0e
Provides: bundled(python2dist(appdirs)) = 1.4.0
bd5b0e
Provides: bundled(python2dist(cachecontrol)) = 0.11.7
bd5b0e
Provides: bundled(python2dist(colorama)) = 0.3.7
bd5b0e
Provides: bundled(python2dist(distlib)) = 0.2.4
bd5b0e
Provides: bundled(python2dist(distro)) = 1.0.1
bd5b0e
Provides: bundled(python2dist(html5lib)) = 1.0b10
bd5b0e
Provides: bundled(python2dist(ipaddress) = 1.0.17
bd5b0e
Provides: bundled(python2dist(lockfile)) = 0.12.2
bd5b0e
Provides: bundled(python2dist(packaging)) = 16.8
bd5b0e
Provides: bundled(python2dist(setuptools)) = 28.8.0
bd5b0e
Provides: bundled(python2dist(progress)) = 1.2
bd5b0e
Provides: bundled(python2dist(pyparsing)) = 2.1.10
bd5b0e
Provides: bundled(python2dist(requests)) = 2.11.1
bd5b0e
Provides: bundled(python2dist(retrying)) = 1.3.3
bd5b0e
Provides: bundled(python2dist(six)) = 1.10.0
bd5b0e
Provides: bundled(python2dist(webencodings)) = 0.5
bd5b0e
bd5b0e
# Bundled within the requests bundle
bd5b0e
Provides: bundled(python2dist(chardet)) = 2.3.0
bd5b0e
Provides: bundled(python2dist(urllib3)) = 1.16
bd5b0e
bd5b0e
%{?python_provide:%python_provide python2-%{srcname}}
bd5b0e
bd5b0e
%description
bd5b0e
pip is a package management system used to install and manage software packages
bd5b0e
written in Python. Many packages can be found in the Python Package Index
bd5b0e
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
bd5b0e
Packages" or "Pip Installs Python".
bd5b0e
bd5b0e
bd5b0e
%if %{with doc}
bd5b0e
%package doc
bd5b0e
Summary:        A documentation for a tool for installing and managing Python packages
bd5b0e
bd5b0e
BuildRequires:  python%{python3_pkgversion}-sphinx
bd5b0e
bd5b0e
%description doc
bd5b0e
A documentation for a tool for installing and managing Python packages
bd5b0e
bd5b0e
%endif
bd5b0e
bd5b0e
%if %{without bootstrap}
bd5b0e
%package -n python2-pip-wheel
bd5b0e
Summary:        The pip wheel
bd5b0e
bd5b0e
# Virtual provides for the packages bundled by pip.
bd5b0e
# You can find the versions in pip/_vendor/vendor.txt file.
bd5b0e
Provides: bundled(python2dist(appdirs)) = 1.4.0
bd5b0e
Provides: bundled(python2dist(cachecontrol)) = 0.11.7
bd5b0e
Provides: bundled(python2dist(colorama)) = 0.3.7
bd5b0e
Provides: bundled(python2dist(distlib)) = 0.2.4
bd5b0e
Provides: bundled(python2dist(distro)) = 1.0.1
bd5b0e
Provides: bundled(python2dist(html5lib)) = 1.0b10
bd5b0e
Provides: bundled(python2dist(ipaddress) = 1.0.17
bd5b0e
Provides: bundled(python2dist(lockfile)) = 0.12.2
bd5b0e
Provides: bundled(python2dist(packaging)) = 16.8
bd5b0e
Provides: bundled(python2dist(setuptools)) = 28.8.0
bd5b0e
Provides: bundled(python2dist(progress)) = 1.2
bd5b0e
Provides: bundled(python2dist(pyparsing)) = 2.1.10
bd5b0e
Provides: bundled(python2dist(requests)) = 2.11.1
bd5b0e
Provides: bundled(python2dist(retrying)) = 1.3.3
bd5b0e
Provides: bundled(python2dist(six)) = 1.10.0
bd5b0e
Provides: bundled(python2dist(webencodings)) = 0.5
bd5b0e
bd5b0e
%description -n python2-pip-wheel
bd5b0e
A Python wheel of pip to use with venv.
bd5b0e
%endif
bd5b0e
bd5b0e
bd5b0e
%prep
bd5b0e
%setup -q -n %{srcname}-%{version}
bd5b0e
%if %{with tests}
bd5b0e
tar -xf %{SOURCE1}
bd5b0e
%endif
bd5b0e
bd5b0e
%patch0 -p1
bd5b0e
%patch1 -p1
bd5b0e
%patch3 -p1
bd5b0e
%patch4 -p1
bd5b0e
bd5b0e
# Patching of bundled libraries
bd5b0e
pushd pip/_vendor/urllib3
bd5b0e
%patch5 -p1
bd5b0e
%patch6 -p1
bd5b0e
%patch7 -p1
bd5b0e
popd
bd5b0e
pushd pip/_vendor/requests
bd5b0e
%patch8 -p1
bd5b0e
popd
bd5b0e
%patch9 -p1
bd5b0e
%if %{with tests}
bd5b0e
%patch10 -p1
bd5b0e
%endif
bd5b0e
bd5b0e
# this goes together with patch4
bd5b0e
rm pip/_vendor/certifi/*.pem
bd5b0e
rm pip/_vendor/requests/*.pem
bd5b0e
sed -i '/\.pem$/d' pip.egg-info/SOURCES.txt
bd5b0e
bd5b0e
sed -i '1d' pip/__init__.py
bd5b0e
bd5b0e
# Remove ordereddict as it is only required for python <= 2.6
bd5b0e
rm pip/_vendor/ordereddict.py
bd5b0e
bd5b0e
bd5b0e
%build
bd5b0e
export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
bd5b0e
%if %{without bootstrap}
bd5b0e
%py2_build_wheel
bd5b0e
%else
bd5b0e
%py2_build
bd5b0e
%endif
bd5b0e
bd5b0e
%if %{with doc}
bd5b0e
pushd docs
bd5b0e
make html
bd5b0e
make man
bd5b0e
rm _build/html/.buildinfo
bd5b0e
popd
bd5b0e
%endif
bd5b0e
bd5b0e
bd5b0e
%install
bd5b0e
%if %{with doc}
bd5b0e
install -d %{buildroot}%{_mandir}/man1
bd5b0e
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip2.1
bd5b0e
%else
bd5b0e
# When building without doc, use pregenerated version of pip2 manual page
bd5b0e
mkdir -p %{buildroot}%{_mandir}/man1/
bd5b0e
cp %{SOURCE2} %{buildroot}%{_mandir}/man1/
bd5b0e
%endif # with doc
bd5b0e
bd5b0e
export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
bd5b0e
%if %{without bootstrap}
bd5b0e
%py2_install_wheel %{python2_wheelname}
bd5b0e
%else
bd5b0e
%py2_install
bd5b0e
%endif
bd5b0e
bd5b0e
rm %{buildroot}%{_bindir}/pip{,%{python2_version}}
bd5b0e
bd5b0e
# Provide symlinks to executables to comply with Fedora guidelines for Python
bd5b0e
ln -s ./pip2 %{buildroot}%{_bindir}/pip-%{python2_version}
bd5b0e
ln -s ./pip2 %{buildroot}%{_bindir}/pip%{python2_version}
bd5b0e
ln -s ./pip2 %{buildroot}%{_bindir}/pip-2
bd5b0e
# Manpage symlink
bd5b0e
ln -s ./pip2.1.gz %{buildroot}%{_mandir}/man1/pip%{python2_version}.1.gz
bd5b0e
bd5b0e
mkdir -p %{buildroot}%{bashcompdir}
bd5b0e
PYTHONPATH=%{buildroot}%{python2_sitelib} \
bd5b0e
    %{buildroot}%{_bindir}/pip2 completion --bash \
bd5b0e
    > %{buildroot}%{bashcompdir}/pip2
bd5b0e
pips2="pip2"
bd5b0e
pips3=pip%{python3_version}
bd5b0e
for pip in %{buildroot}%{_bindir}/pip*; do
bd5b0e
    pip=$(basename $pip)
bd5b0e
    case $pip in
bd5b0e
        pip2.*|pip-2*)
bd5b0e
            pips2="$pips2 $pip"
bd5b0e
%if 0%{?bashcomp2}
bd5b0e
            ln -s pip2 %{buildroot}%{bashcompdir}/$pip
bd5b0e
%endif
bd5b0e
            ;;
bd5b0e
    esac
bd5b0e
done
bd5b0e
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips2/" \
bd5b0e
    %{buildroot}%{bashcompdir}/pip2
bd5b0e
bd5b0e
# Make sure the INSTALLER is not pip, otherwise pip-nowarn-upgrade.patch
bd5b0e
# (Patch3) won't work
bd5b0e
mkdir -p %{buildroot}%{python2_sitelib}/pip-%{version}.dist-info
bd5b0e
echo rpm > %{buildroot}%{python2_sitelib}/pip-%{version}.dist-info/INSTALLER
bd5b0e
bd5b0e
bd5b0e
%if %{without bootstrap}
bd5b0e
mkdir -p %{buildroot}%{python2_wheeldir}
bd5b0e
install -p dist/%{python2_wheelname} -t %{buildroot}%{python2_wheeldir}
bd5b0e
%endif
bd5b0e
bd5b0e
%if %{with tests}
bd5b0e
%check
bd5b0e
export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
bd5b0e
py.test-%{python2_version} -m 'not network'
bd5b0e
%endif
bd5b0e
bd5b0e
bd5b0e
%files
bd5b0e
%license LICENSE.txt
bd5b0e
%doc README.rst
bd5b0e
%{_mandir}/man1/pip2.*
bd5b0e
%{_bindir}/pip2
bd5b0e
%{_bindir}/pip-2
bd5b0e
%{_bindir}/pip%{python2_version}
bd5b0e
%{_bindir}/pip-%{python2_version}
bd5b0e
%{python2_sitelib}/pip*
bd5b0e
%dir %{bashcompdir}
bd5b0e
%{bashcompdir}/pip2
bd5b0e
%if 0%{?bashcomp2}
bd5b0e
%{bashcompdir}/pip2*
bd5b0e
%{bashcompdir}/pip-2*
bd5b0e
%dir %(dirname %{bashcompdir})
bd5b0e
%endif
bd5b0e
bd5b0e
%if %{with doc}
bd5b0e
%files doc
bd5b0e
%license LICENSE.txt
bd5b0e
%doc README.rst
bd5b0e
%doc docs/_build/html
bd5b0e
%endif # with doc
bd5b0e
bd5b0e
%if %{without bootstrap}
bd5b0e
%files -n python2-pip-wheel
bd5b0e
%license LICENSE.txt
bd5b0e
# we own the dir for simplicity
bd5b0e
%dir %{python2_wheeldir}/
bd5b0e
%{python2_wheeldir}/%{python2_wheelname}
bd5b0e
%endif
bd5b0e
bd5b0e
%changelog
bd5b0e
* Wed Aug 19 2020 Tomas Orsava <torsava@redhat.com> - 9.0.3-18
bd5b0e
- Patch for pip install <url> allow directory traversal, leading to arbitrary file write
bd5b0e
Resolves: rhbz#1870184
bd5b0e
bd5b0e
* Mon Mar 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-17
bd5b0e
- Remove unused CA bundle from the bundled requests library
bd5b0e
Resolves: rhbz#1775194
bd5b0e
bd5b0e
* Tue Jan 14 2020 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-16
bd5b0e
- Add four new patches for CVEs in bundled urllib3 and requests
bd5b0e
CVE-2018-20060, CVE-2019-11236, CVE-2019-11324, CVE-2018-18074
bd5b0e
Resolves: rhbz#1649153
bd5b0e
Resolves: rhbz#1700824
bd5b0e
Resolves: rhbz#1702473
bd5b0e
Resolves: rhbz#1643829
bd5b0e
bd5b0e
* Thu Oct 24 2019 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-15
bd5b0e
- Use the system level root certificate instead of the one bundled in certifi
bd5b0e
Resolves: rhbz#1659551
bd5b0e
bd5b0e
* Tue Jun 18 2019 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-14
bd5b0e
- Create the python-pip-wheel subpackage
bd5b0e
Resolves: rhbz#1659551
bd5b0e
bd5b0e
* Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-13
bd5b0e
- Bumping due to problems with modular RPM upgrade path
bd5b0e
- Resolves: rhbz#1695587
bd5b0e
bd5b0e
* Mon Dec 10 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-12
bd5b0e
- Do not show the "new version of pip" warning outside of venv
bd5b0e
- Resolves: rhbz#1656171
bd5b0e
bd5b0e
* Tue Dec 04 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-11
bd5b0e
- Use pregenerated manpage for pip2 when building without doc
bd5b0e
- Resolves: rhbz#1655587
bd5b0e
bd5b0e
* Wed Aug 29 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-10
bd5b0e
- Separate the python2-pip subpackage into its own component
bd5b0e
- Related: rhbz#1628242
bd5b0e
bd5b0e
* Wed Aug 29 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-9
bd5b0e
- Fix bash completion bug when python3 is disabled
bd5b0e
- Resolves: rhbz#1615727
bd5b0e
bd5b0e
* Wed Aug 15 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-8
bd5b0e
- Remove files without full version suffix
bd5b0e
- Resolves: rhbz#1615727
bd5b0e
bd5b0e
* Wed Aug 08 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-7
bd5b0e
- Remove unversioned binaries from python2 subpackage
bd5b0e
- Resolves: rhbz#1613343
bd5b0e
bd5b0e
* Tue Aug 07 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-6
bd5b0e
- Fix python3/doc condition
bd5b0e
- Do not build doc in python27 module
bd5b0e
bd5b0e
* Mon Aug 06 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-5
bd5b0e
- Build python3-pip in python27 module
bd5b0e
bd5b0e
* Mon Aug 06 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-4
bd5b0e
- Correct license information
bd5b0e
bd5b0e
* Tue Jul 03 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-3
bd5b0e
- This package might be built with the non-modular python2 package from RHEL8
bd5b0e
  buildroot and thus we need to enable it
bd5b0e
bd5b0e
* Mon Jun 25 2018 Tomas Orsava <torsava@redhat.com> - 9.0.3-2
bd5b0e
- Rebuild for the python27 module
bd5b0e
bd5b0e
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-1
bd5b0e
- Update to 9.0.3
bd5b0e
bd5b0e
* Wed Feb 21 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.1-16
bd5b0e
- Include built HTML documentation (in the new -doc subpackage) and man page
bd5b0e
bd5b0e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-15
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bd5b0e
bd5b0e
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-14
bd5b0e
- Reintroduce the ipaddress module in the python3 subpackage.
bd5b0e
bd5b0e
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-13
bd5b0e
- Add virtual provides for the bundled libraries. (rhbz#1096912)
bd5b0e
bd5b0e
* Tue Aug 29 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-12
bd5b0e
- Switch macros to bcond's and make Python 2 optional to facilitate building
bd5b0e
  the Python 2 and Python 3 modules
bd5b0e
bd5b0e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-11
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bd5b0e
bd5b0e
* Tue May 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-10
bd5b0e
- Modernized package descriptions
bd5b0e
Resolves: rhbz#1452568
bd5b0e
bd5b0e
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-9
bd5b0e
- Fix typo in the sudo pip warning
bd5b0e
bd5b0e
* Fri Mar 03 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-8
bd5b0e
- Patch 1 update: No sudo pip warning in venv or virtualenv
bd5b0e
bd5b0e
* Thu Feb 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-7
bd5b0e
- Patch 1 update: Customize the warning with the proper version of the pip
bd5b0e
  command
bd5b0e
bd5b0e
* Tue Feb 14 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-6
bd5b0e
- Added patch 1: Emit a warning when running with root privileges
bd5b0e
bd5b0e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bd5b0e
bd5b0e
* Mon Jan 02 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-4
bd5b0e
- Provide symlinks to executables to comply with Fedora guidelines for Python
bd5b0e
Resolves: rhbz#1406922
bd5b0e
bd5b0e
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-3
bd5b0e
- Rebuild for Python 3.6 with wheel
bd5b0e
bd5b0e
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-2
bd5b0e
- Rebuild for Python 3.6 without wheel
bd5b0e
bd5b0e
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 9.0.1-1
bd5b0e
- Update to 9.0.1
bd5b0e
bd5b0e
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 8.1.2-5
bd5b0e
- Enable EPEL Python 3 builds
bd5b0e
- Use new python macros
bd5b0e
- Cleanup spec
bd5b0e
bd5b0e
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-4
bd5b0e
- Updated the test sources
bd5b0e
bd5b0e
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3
bd5b0e
- Moved python-pip into the python2-pip subpackage
bd5b0e
- Added the python_provide macro
bd5b0e
bd5b0e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.2-2
bd5b0e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bd5b0e
bd5b0e
* Tue May 17 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-1
bd5b0e
- Update to 8.1.2
bd5b0e
- Moved to a new PyPI URL format
bd5b0e
- Updated the prefix-stripping patch because of upstream changes in pip/wheel.py
bd5b0e
bd5b0e
* Mon Feb 22 2016 Slavek Kabrda <bkabrda@redhat.com> - 8.0.2-1
bd5b0e
- Update to 8.0.2
bd5b0e
bd5b0e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-4
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bd5b0e
bd5b0e
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-3
bd5b0e
- Rebuilt for Python3.5 rebuild
bd5b0e
- With wheel set to 1
bd5b0e
bd5b0e
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-2
bd5b0e
- Rebuilt for Python3.5 rebuild
bd5b0e
bd5b0e
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
bd5b0e
- Update to 7.1.0
bd5b0e
bd5b0e
* Tue Jun 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 7.0.3-3
bd5b0e
- Install bash completion
bd5b0e
- Ship LICENSE.txt as %%license where available
bd5b0e
bd5b0e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.3-2
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bd5b0e
bd5b0e
* Thu Jun 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 7.0.3-1
bd5b0e
- Update to 7.0.3
bd5b0e
bd5b0e
* Fri Mar 06 2015 Matej Stuchlik <mstuchli@redhat.com> - 6.0.8-1
bd5b0e
- Update to 6.0.8
bd5b0e
bd5b0e
* Thu Dec 18 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.5.6-5
bd5b0e
- Only enable tests on Fedora.
bd5b0e
bd5b0e
* Mon Dec 01 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-4
bd5b0e
- Add tests
bd5b0e
- Add patch skipping tests requiring Internet access
bd5b0e
bd5b0e
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-3
bd5b0e
- Added patch for local dos with predictable temp dictionary names
bd5b0e
  (http://seclists.org/oss-sec/2014/q4/655)
bd5b0e
bd5b0e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bd5b0e
bd5b0e
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-1
bd5b0e
- Update to 1.5.6
bd5b0e
bd5b0e
* Fri Apr 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-4
bd5b0e
- Rebuild as wheel for Python 3.4
bd5b0e
bd5b0e
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-3
bd5b0e
- Disable build_wheel
bd5b0e
bd5b0e
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-2
bd5b0e
- Rebuild as wheel for Python 3.4
bd5b0e
bd5b0e
* Mon Apr 07 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-1
bd5b0e
- Updated to 1.5.4
bd5b0e
bd5b0e
* Mon Oct 14 2013 Tim Flink <tflink@fedoraproject.org> - 1.4.1-1
bd5b0e
- Removed patch for CVE 2013-2099 as it has been included in the upstream 1.4.1 release
bd5b0e
- Updated version to 1.4.1
bd5b0e
bd5b0e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bd5b0e
bd5b0e
* Tue Jul 16 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-4
bd5b0e
- Fix for CVE 2013-2099
bd5b0e
bd5b0e
* Thu May 23 2013 Tim Flink <tflink@fedoraproject.org> - 1.3.1-3
bd5b0e
- undo python2 executable rename to python-pip. fixes #958377
bd5b0e
- fix summary to match upstream
bd5b0e
bd5b0e
* Mon May 06 2013 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.3.1-2
bd5b0e
- Fix main package Summary, it's for Python 2, not 3 (#877401)
bd5b0e
bd5b0e
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - 1.3.1-1
bd5b0e
- Update to 1.3.1, fix for CVE-2013-1888.
bd5b0e
bd5b0e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bd5b0e
bd5b0e
* Tue Oct 09 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-2
bd5b0e
- Fixing files for python3-pip
bd5b0e
bd5b0e
* Thu Oct 04 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-1
bd5b0e
- Update to upstream 1.2.1
bd5b0e
- Change binary from pip-python to python-pip (RHBZ#855495)
bd5b0e
- Add alias from python-pip to pip-python, to be removed at a later date
bd5b0e
bd5b0e
* Tue May 15 2012 Tim Flink <tflink@fedoraproject.org> - 1.1.0-1
bd5b0e
- Update to upstream 1.1.0
bd5b0e
bd5b0e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bd5b0e
bd5b0e
* Sat Oct 22 2011 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
bd5b0e
- update to 1.0.2 and added python3 subpackage
bd5b0e
bd5b0e
* Wed Jun 22 2011 Tim Flink <tflink@fedoraproject.org> - 0.8.3-1
bd5b0e
- update to 0.8.3 and project home page
bd5b0e
bd5b0e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bd5b0e
bd5b0e
* Mon Dec 20 2010 Luke Macken <lmacken@redhat.com> - 0.8.2-1
bd5b0e
- update to 0.8.2 of pip
bd5b0e
* Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1
bd5b0e
- update to 0.8 of pip
bd5b0e
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5
bd5b0e
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
bd5b0e
bd5b0e
* Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1
bd5b0e
- update to 0.7.2 of pip
bd5b0e
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
bd5b0e
- update to 0.7.1 of pip
bd5b0e
* Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4
bd5b0e
- fix dependency issue
bd5b0e
* Fri Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
bd5b0e
- fix spec file 
bd5b0e
* Thu Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
bd5b0e
- upgrade to 0.6.1 of pip
bd5b0e
* Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
bd5b0e
- Initial package
bd5b0e