Patch local dos with predictable temp directory names

See more at http://seclists.org/oss-sec/2014/q4/655
This commit is contained in:
Matej Stuchlik 2014-11-18 13:49:10 +01:00
commit a7c7b123d7
2 changed files with 405 additions and 1 deletions

View file

@ -16,7 +16,7 @@
Name: python-%{srcname}
Version: 1.5.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A tool for installing and managing Python packages
Group: Development/Libraries
@ -24,6 +24,10 @@ License: MIT
URL: http://www.pip-installer.org
Source0: http://pypi.python.org/packages/source/p/pip/%{srcname}-%{version}.tar.gz
Patch0: pip-1.5rc1-allow-stripping-prefix-from-wheel-RECORD-files.patch
# patch by dstufft, more at http://seclists.org/oss-sec/2014/q4/655
Patch1: local-dos.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -66,6 +70,7 @@ easy_installable should be pip-installable as well.
%setup -q -n %{srcname}-%{version}
%patch0 -p1
%patch1 -p1
%{__sed} -i '1d' pip/__init__.py
@ -136,6 +141,10 @@ pip2 install -I dist/%{python2_wheelname} --root %{buildroot} --strip-file-prefi
%endif # with_python3
%changelog
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-3
- Added patch for local dos with predictable temp dictionary names
(http://seclists.org/oss-sec/2014/q4/655)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild