Summary: A Pythonic binding for the libxml2 and libxslt libraries
Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt
Name: python-%{module}
-Version: 2.2.8
+Version: 2.3.1
Release: 1
License: BSD
Group: Libraries/Python
Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
-# Source0-md5: d6c612d63a84d79440912a1b29d3b981
-Patch0: python3.patch
+# Source0-md5: 87931fbf35df60cd71cfe7484b4b36ed
URL: http://codespeak.net/lxml/
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
%prep
%setup -q -n %{module}-%{version}
-%patch0 -p1
%build
%if %{with python2}
install \
--root=$RPM_BUILD_ROOT \
--optimize=2
-
-%py3_postclean
%endif
# cleanup for packaging
%doc docs/* CHANGES.txt CREDITS.txt TODO.txt
%dir %{py_sitedir}/lxml
%{py_sitedir}/lxml/*.py[co]
+%{py_sitedir}/lxml/isoschematron
%dir %{py_sitedir}/lxml/html
%{py_sitedir}/lxml/html/*.py[co]
%attr(755,root,root) %{py_sitedir}/lxml/etree.so
%defattr(644,root,root,755)
%doc docs/* CHANGES.txt CREDITS.txt TODO.txt
%dir %{py3_sitedir}/lxml
-%{py3_sitedir}/lxml/*.py[co]
-%dir %{py3_sitedir}/lxml/html
-%{py3_sitedir}/lxml/html/*.py[co]
-%attr(755,root,root) %{py3_sitedir}/lxml/etree.so
-%attr(755,root,root) %{py3_sitedir}/lxml/objectify.so
+%attr(755,root,root) %{py3_sitedir}/lxml/*.so
+%{py3_sitedir}/lxml/*.py
+%{py3_sitedir}/lxml/__pycache__
+%{py3_sitedir}/lxml/isoschematron
+%{py3_sitedir}/lxml/html
%{py3_sitedir}/lxml-*.egg-info
%endif