workaround for 2to3 issue (patch 0; bug 600036)
This commit is contained in:
parent
8f0e38b4e3
commit
91cc1cce3d
BIN
python-lxml-2.2.6-3.fc14.src.rpm
Normal file
BIN
python-lxml-2.2.6-3.fc14.src.rpm
Normal file
Binary file not shown.
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-lxml
|
Name: python-lxml
|
||||||
Version: 2.2.6
|
Version: 2.2.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -14,6 +14,11 @@ License: BSD
|
|||||||
URL: http://codespeak.net/lxml/
|
URL: http://codespeak.net/lxml/
|
||||||
Source0: http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
|
Source0: http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
|
||||||
Source1: http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz.asc
|
Source1: http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz.asc
|
||||||
|
|
||||||
|
# Workaround for bug 600036: 2to3 chokes on certain lines
|
||||||
|
# Reported upstream against 2to3 as listed in that bug
|
||||||
|
Patch0: python-lxml-2.2.6-fix-2to3.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
@ -61,6 +66,8 @@ unlike the default bindings.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n lxml-%{version}
|
%setup -q -n lxml-%{version}
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
chmod a-x doc/rest2html.py
|
chmod a-x doc/rest2html.py
|
||||||
%{__sed} -i 's/\r//' doc/s5/ui/default/print.css \
|
%{__sed} -i 's/\r//' doc/s5/ui/default/print.css \
|
||||||
doc/s5/ep2008/atom.rng \
|
doc/s5/ep2008/atom.rng \
|
||||||
@ -128,6 +135,9 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-3
|
||||||
|
- workaround for 2to3 issue (patch 0; bug 600036)
|
||||||
|
|
||||||
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-2
|
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user