From 4059a9ff4fa7a1752867fa0f57fc94b00ef523dcbdacae1a372f99d737f90c67 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 14 Sep 2010 11:17:03 +0000 Subject: [PATCH] Accepting request 48071 from devel:languages:python Copy from devel:languages:python/python-lxml based on submit request 48071 from user coolo OBS-URL: https://build.opensuse.org/request/show/48071 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=21 --- lxml-2.2.6.tar.bz2 | 3 --- lxml-2.2.8.tar.bz2 | 3 +++ lxmldoc-2.2.6.pdf | 3 --- lxmldoc-2.2.8.pdf | 3 +++ python-lxml.changes | 8 ++++++++ python-lxml.spec | 33 ++++++++++++++++----------------- 6 files changed, 30 insertions(+), 23 deletions(-) delete mode 100644 lxml-2.2.6.tar.bz2 create mode 100644 lxml-2.2.8.tar.bz2 delete mode 100644 lxmldoc-2.2.6.pdf create mode 100644 lxmldoc-2.2.8.pdf diff --git a/lxml-2.2.6.tar.bz2 b/lxml-2.2.6.tar.bz2 deleted file mode 100644 index 5ad8404..0000000 --- a/lxml-2.2.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:82de009babe7b0f130108784d60845d51604ef09e85ea7606e9c2eca3c159969 -size 2041250 diff --git a/lxml-2.2.8.tar.bz2 b/lxml-2.2.8.tar.bz2 new file mode 100644 index 0000000..1ada52e --- /dev/null +++ b/lxml-2.2.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:455f09a0dbb3a142056f76bd8bd0ace01ef754d4112092d963da43424da11d3c +size 2038283 diff --git a/lxmldoc-2.2.6.pdf b/lxmldoc-2.2.6.pdf deleted file mode 100644 index c71cf6b..0000000 --- a/lxmldoc-2.2.6.pdf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99ab33e66351f75d9b165a1092bdc53b00e07f5747ce479cd716d0985ee70958 -size 2040787 diff --git a/lxmldoc-2.2.8.pdf b/lxmldoc-2.2.8.pdf new file mode 100644 index 0000000..d1f6cfd --- /dev/null +++ b/lxmldoc-2.2.8.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa3b23617e0579939fb42a9ec8cc5259979ed27997c76d11d6adf40bab128c17 +size 2049904 diff --git a/python-lxml.changes b/python-lxml.changes index 4a01735..4abb8af 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Sep 2 14:46:19 UTC 2010 - alexandre@exatati.com.br + +- Update to 2.2.8 (2010-09-02): + Bugs fixed + * Crash in newer libxml2 versions when moving elements between documents that had attributes on replaced XInclude nodes. + * Import fix for urljoin in Python 3.1+. + ------------------------------------------------------------------- Tue Mar 2 19:50:28 UTC 2010 - toms@suse.de diff --git a/python-lxml.spec b/python-lxml.spec index 0d96275..9f15b82 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,5 +1,5 @@ # -# spec file for package python-lxml (Version 2.2.6) +# spec file for package python-lxml (Version 2.2.8) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,20 +19,23 @@ %define modname lxml Name: python-lxml -Url: http://codespeak.net/lxml -Summary: A Pythonic Binding for the libxml2 and libxslt Libraries -Version: 2.2.6 +Version: 2.2.8 Release: 1 License: BSD3c +Summary: A Pythonic Binding for the libxml2 and libxslt Libraries +Url: http://codespeak.net/lxml Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.bz2 Source1: %{modname}doc-%{version}.pdf Source2: %{name}-rpmlintrc +# Requires: libxml2 libxslt +BuildRequires: libxslt-devel +BuildRequires: pyrex +BuildRequires: python-devel +BuildRequires: pyxml +Requires: pyxml BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} -Requires: pyxml -# Requires: libxml2 libxslt -BuildRequires: libxslt-devel pyrex python-devel pyxml # Use test as told in http://lists.opensuse.org/opensuse-packaging/2009-08/msg00110.html #%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} @@ -50,30 +53,26 @@ the native libxml2 tree. It also extends this API to expose libxml2 and libxslt specific functionality, such as XPath, Relax NG, XML Schema, XSLT, and c14n. - - -Authors: --------- +Author: +------- Stefan Behnel - main developer and maintainer Martijn Faassen - creator of lxml and initial main developer and others - %package doc -Group: Development/Libraries/Python -Summary: Documentation for %{name} License: BSD3c +Summary: Documentation for %{name} +Group: Development/Libraries/Python %description doc Documentation for %{modname} (HTML and PDF). - # --------------------------------- %prep %setup -q -n %{modname}-%{version} %build -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="%{optflags}" %{__python} setup.py build %{__cp} %{S:1} . @@ -81,7 +80,7 @@ export CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py install \ --optimize 1 \ --prefix=%{_prefix} \ - --root=$RPM_BUILD_ROOT \ + --root=%{buildroot} \ --record-rpm=INSTALLED_FILES.txt [ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/