Added Patch 1: Fix pip install failure in FIPS mode (rhbz#1430774)

This commit is contained in:
Tomas Orsava 2017-03-17 11:49:42 +01:00 committed by Miro Hrončok
commit 50953dcc78
2 changed files with 39 additions and 1 deletions

View file

@ -17,7 +17,7 @@
Name: python-%{srcname}
Version: 8.1.2
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A tool for installing and managing Python packages
Group: Development/Libraries
@ -39,6 +39,10 @@ Source1: pip-8.1.2-tests.tar.gz
# https://github.com/pypa/pip/issues/1351
Patch0: allow-stripping-given-prefix-from-wheel-RECORD-files.patch
# Fix `pip install` failure in FIPS mode
# Resolves: rhbz#1430774
Patch1: Fix-pip-install-in-FIPS-mode.patch
%description
Pip is a replacement for `easy_install
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
@ -115,6 +119,7 @@ tar -xf %{SOURCE1}
%endif
%patch0 -p1
%patch1 -p1
sed -i '1d' pip/__init__.py
@ -226,6 +231,10 @@ py.test-%{python3_version} -m 'not network'
%endif # with_python3
%changelog
* Wed Apr 04 2018 Tomas Orsava <torsava@redhat.com> - 8.1.2-6
- Added Patch 1: Fix `pip install` failure in FIPS mode
Resolves: rhbz#1430774
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 8.1.2-5
- Enable EPEL Python 3 builds
- Use new python macros