diff --git a/lxml-2.2.4.tar.bz2 b/lxml-2.2.4.tar.bz2 deleted file mode 100644 index 98cd258..0000000 --- a/lxml-2.2.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13c14899fffc203cfd1f4d975a5c0e3f7f5b4c901233d0889baaf1cbabd7ff5c -size 2076451 diff --git a/lxml-2.2.5.tar.bz2 b/lxml-2.2.5.tar.bz2 new file mode 100644 index 0000000..3021d30 --- /dev/null +++ b/lxml-2.2.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:103980c9053b829237da79b428bc90d4742e3df0b814fd91feb4c68f03503f48 +size 2058195 diff --git a/lxmldoc-2.2.4.pdf b/lxmldoc-2.2.4.pdf deleted file mode 100644 index 7a059b5..0000000 --- a/lxmldoc-2.2.4.pdf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0e2697efec78eb40b3685e8f144a4bb195984cfa5875104d553eed65eb84fb4 -size 1900634 diff --git a/lxmldoc-2.2.5.pdf b/lxmldoc-2.2.5.pdf new file mode 100644 index 0000000..a156312 --- /dev/null +++ b/lxmldoc-2.2.5.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bbfdf244e84a640962660d47e818f6f2f169f696f0c2691fb79e6790dfc7b49 +size 2037974 diff --git a/python-lxml-rpmlintrc b/python-lxml-rpmlintrc index f35b18a..0d93e60 100644 --- a/python-lxml-rpmlintrc +++ b/python-lxml-rpmlintrc @@ -1,3 +1,13 @@ # addFilter("files-duplicate .*/toc-lxml.html.usedoctest-module.html") -addFilter("files-duplicate .*/html/api/frames.html") \ No newline at end of file +addFilter("files-duplicate .*/html/api/frames.html") +# Fix false positives: +addFilter("files-duplicate .*/lxml/html/.*") +addFilter("files-duplicate .*/lxml/sax.py?") +addFilter("files-duplicate .*/lxml/usedoctest.py?") +addFilter("files-duplicate .*/lxml/pyclasslookup.py?") +addFilter("files-duplicate .*/lxml/ElementInclude.py?") +addFilter("files-duplicate .*/lxml/__init__.py?") +addFilter("files-duplicate .*/lxml/_elementpath.py?") +addFilter("files-duplicate .*/lxml/doctestcompare.py?") + diff --git a/python-lxml.changes b/python-lxml.changes index 1a1d885..9161494 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Mar 1 21:56:05 UTC 2010 - toms@suse.de + +- Updated to 2.2.5 (2010-02-28): + Features added + * Support for running XSLT extension elements on the input root + node (e.g. in a template matching on "/"). + + Bugs fixed + * Crash in XPath evaluation when reading smart strings from a + document other than the original context document. + * Support recent versions of html5lib by not requiring its + XHTMLParser in htmlparser.py anymore. + * Manually instantiating the custom element classes in + lxml.objectify could crash. + * Invalid XML text characters were not rejected by the API when + they appeared in unicode strings directly after non-ASCII characters. + * lxml.html.open_http_urllib() did not work in Python 3. + * The functions strip_tags() and strip_elements() in lxml.etree + did not remove all occurrences of a tag in all cases. + * Crash in XSLT extension elements when the XSLT context + node is not an element. + +- Fixed .changes file to match order from factory + + ------------------------------------------------------------------- Fri Nov 13 21:50:52 UTC 2009 - toms@suse.de diff --git a/python-lxml.spec b/python-lxml.spec index 696861c..7111c29 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,5 +1,5 @@ # -# spec file for package python-lxml (Version 2.2.4) +# spec file for package python-lxml (Version 2.2.5) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,7 +21,7 @@ Name: python-lxml Url: http://codespeak.net/lxml Summary: A Pythonic Binding for the libxml2 and libxslt Libraries -Version: 2.2.4 +Version: 2.2.5 Release: 1 License: BSD3c Group: Development/Libraries/Python @@ -33,14 +33,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: pyxml # Requires: libxml2 libxslt BuildRequires: libxslt-devel pyrex python-devel pyxml -BuildRequires: fdupes # Use test as told in http://lists.opensuse.org/opensuse-packaging/2009-08/msg00110.html + #%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} #BuildArch: noarch #%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} #%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} #%endif +# + %description lxml is a Pythonic binding for the libxml2 and libxslt libraries. It follows the ElementTree API as much as possible, building it on top of @@ -66,8 +68,7 @@ License: BSD3c Documentation for %{modname} (HTML and PDF). - - +# --------------------------------- %prep %setup -q -n %{modname}-%{version} @@ -81,16 +82,13 @@ export CFLAGS="$RPM_OPT_FLAGS" --optimize 1 \ --prefix=%{_prefix} \ --root=$RPM_BUILD_ROOT \ - --record-rpm=INSTALLED_FILES.txt \ -%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} - --install-lib=%{python_sitelib} -%endif + --record-rpm=INSTALLED_FILES.txt + [ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/ -# Avoid warnings from rpmlint: + for i in doc/html/pubkey.asc ; do [ -e "$i" ] && %{__rm} "$i" done -%fdupes $RPM_BUILD_ROOT%{py_sitedir} $RPM_BUILD_ROOT%{python_sitelib} %clean %{__rm} -rf %{buildroot}