add the patch; remove the mistakenly-added src.rpm
This commit is contained in:
parent
91cc1cce3d
commit
fe7e895248
Binary file not shown.
13
python-lxml-2.2.6-fix-2to3.patch
Normal file
13
python-lxml-2.2.6-fix-2to3.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up lxml-2.2.6/src/lxml/html/__init__.py.fix-2to3 lxml-2.2.6/src/lxml/html/__init__.py
|
||||||
|
--- lxml-2.2.6/src/lxml/html/__init__.py.fix-2to3 2010-07-26 13:36:42.333672181 -0400
|
||||||
|
+++ lxml-2.2.6/src/lxml/html/__init__.py 2010-07-26 13:36:52.379671732 -0400
|
||||||
|
@@ -823,7 +823,8 @@ def submit_form(form, extra_values=None,
|
||||||
|
def open_http_urllib(method, url, values):
|
||||||
|
## FIXME: should test that it's not a relative URL or something
|
||||||
|
try:
|
||||||
|
- from urllib import urlencode, urlopen
|
||||||
|
+ from urllib import urlencode
|
||||||
|
+ from urllib import urlopen
|
||||||
|
except ImportError: # Python 3
|
||||||
|
from urllib.request import urlopen
|
||||||
|
from urllib.parse import urlencode
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-lxml
|
Name: python-lxml
|
||||||
Version: 2.2.6
|
Version: 2.2.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: ElementTree-like Python bindings for libxml2 and libxslt
|
Summary: ElementTree-like Python bindings for libxml2 and libxslt
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -135,6 +135,9 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-4
|
||||||
|
- actually add the patch this time
|
||||||
|
|
||||||
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-3
|
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-3
|
||||||
- workaround for 2to3 issue (patch 0; bug 600036)
|
- workaround for 2to3 issue (patch 0; bug 600036)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user