diff --git a/lxml-1.3.6.tar.bz2 b/lxml-1.3.6.tar.bz2
deleted file mode 100644
index ad4aa17..0000000
--- a/lxml-1.3.6.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8528d0231c8d6a19f5a702bdaf4e203640b962ba5f9a00107672eb819d2f33e7
-size 879237
diff --git a/lxml-2.0.3.tar.bz2 b/lxml-2.0.3.tar.bz2
new file mode 100644
index 0000000..9ab4d9e
--- /dev/null
+++ b/lxml-2.0.3.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:55aa09f5f9cb0027d0b9055d9d56c4a303be6c54ce0df5721b0b3ab19694ec57
+size 1387166
diff --git a/python-lxml.changes b/python-lxml.changes
index 7d390d6..da4461a 100644
--- a/python-lxml.changes
+++ b/python-lxml.changes
@@ -1,3 +1,40 @@
+-------------------------------------------------------------------
+Fri Mar 28 11:01:26 CET 2008 - toms@suse.de
+
+- Split documentation into subpackage python-lxml-doc
+- Updated to 2.0.3:
+Features added
+ * soupparser.parse() allows passing keyword arguments on to
+ BeautifulSoup.
+ * fromstring() method in lxml.html.soupparser.
+
+Bugs fixed:
+* lxml.html.diff didn't treat empty tags properly (e.g.,
).
+* Handle entity replacements correctly in target parser.
+* Crash when using iterparse() with XML Schema validation.
+* The BeautifulSoup parser (soupparser.py) did not replace entities,
+ which made them turn up in text content.
+* Attribute assignment of custom PyTypes in objectify could fail
+ to correctly serialise the value to a string.
+
+Other changes
+* lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser
+ with a more consistent API. The old module remains for
+ compatibility with ElementTree's own ElementSoup module.
+* Setting the XSLT_CONFIG and XML2_CONFIG environment variables at
+ build time will let setup.py pick up the xml2-config and xslt-config
+ scripts from the supplied path name.
+* Passing --with-xml2-config=/path/to/xml2-config to setup.py will
+ override the xml2-config script that is used to determine the
+ C compiler options. The same applies for the --with-xslt-config option.
+
+Older changes:
+* see
+ http://pypi.python.org/pypi/lxml/2.0.2
+ http://pypi.python.org/pypi/lxml/2.0.1
+ http://pypi.python.org/pypi/lxml/2.0
+
+
-------------------------------------------------------------------
Tue Oct 30 12:03:16 CET 2007 - toms@suse.de
diff --git a/python-lxml.spec b/python-lxml.spec
index a34e3e3..445ed0d 100644
--- a/python-lxml.spec
+++ b/python-lxml.spec
@@ -1,7 +1,7 @@
#
-# spec file for package python-lxml (Version 1.3.6)
+# spec file for package python-lxml (Version 2.0.3)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -9,11 +9,12 @@
#
+
Name: python-lxml
%define modname lxml
Url: http://codespeak.net/lxml
Summary: A Pythonic Binding for the libxml2 and libxslt Libraries
-Version: 1.3.6
+Version: 2.0.3
Release: 1
License: BSD 3-Clause
Group: Development/Libraries/Python
@@ -38,6 +39,23 @@ Authors:
Martijn Faassen - creator of lxml and initial main developer
and others
+%package doc
+Group: Development/Libraries/Python
+Summary: Documentation for python-lxml Package
+License: BSD 3-Clause
+
+%description doc
+Documentation for python-lxml package
+
+
+
+Authors:
+--------
+ Stefan Behnel - main developer and maintainer
+ Martijn Faassen - creator of lxml and initial main developer
+ and others
+
+% ---------------------------------
%prep
%setup -q -n %{modname}-%{version}
@@ -46,7 +64,9 @@ export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
+%{__cp} -a doc/*.* doc/html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%clean
rm -rf %{buildroot}
@@ -55,8 +75,43 @@ rm -rf %{buildroot}
%defattr(-,root,root)
%doc doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt
%{py_sitedir}/lxml
+
+%files doc
+%defattr(-,root,root)
+%{_defaultdocdir}/%{name}
+
%changelog
-* Tue Oct 30 2007 - toms@suse.de
+* Fri Mar 28 2008 toms@suse.de
+- Split documentation into subpackage python-lxml-doc
+- Updated to 2.0.3:
+ Features added
+ * soupparser.parse() allows passing keyword arguments on to
+ BeautifulSoup.
+ * fromstring() method in lxml.html.soupparser.
+ Bugs fixed:
+ * lxml.html.diff didn't treat empty tags properly (e.g.,
).
+ * Handle entity replacements correctly in target parser.
+ * Crash when using iterparse() with XML Schema validation.
+ * The BeautifulSoup parser (soupparser.py) did not replace entities,
+ which made them turn up in text content.
+ * Attribute assignment of custom PyTypes in objectify could fail
+ to correctly serialise the value to a string.
+ Other changes
+ * lxml.html.ElementSoup was replaced by a new module lxml.html.soupparser
+ with a more consistent API. The old module remains for
+ compatibility with ElementTree's own ElementSoup module.
+ * Setting the XSLT_CONFIG and XML2_CONFIG environment variables at
+ build time will let setup.py pick up the xml2-config and xslt-config
+ scripts from the supplied path name.
+ * Passing --with-xml2-config=/path/to/xml2-config to setup.py will
+ override the xml2-config script that is used to determine the
+ C compiler options. The same applies for the --with-xslt-config option.
+ Older changes:
+ * see
+ http://pypi.python.org/pypi/lxml/2.0.2
+ http://pypi.python.org/pypi/lxml/2.0.1
+ http://pypi.python.org/pypi/lxml/2.0
+* Tue Oct 30 2007 toms@suse.de
- Updated to 1.3.6:
Bugs fixed
* Backported decref crash fix from 2.0
@@ -66,7 +121,7 @@ rm -rf %{buildroot}
While this makes them take a lot longer to run, it also makes
it easier to link a specific test to garbage collection problems
that would otherwise appear in later tests.
-* Thu Aug 30 2007 - toms@suse.de
+* Thu Aug 30 2007 toms@suse.de
Updated to 1.3.4:
Features added
* The ElementMaker in lxml.builder now accepts the keyword arguments
@@ -91,7 +146,7 @@ rm -rf %{buildroot}
2.0 will be strict about well-formed tag names (not only regarding ':').
* Serialising an Element no longer includes its comment and PI siblings
(only ElementTree serialisation includes them).
-* Mon Jul 30 2007 - toms@suse.de
+* Mon Jul 30 2007 toms@suse.de
Updated to 1.3.3 with the following changes:
Features added:
* ElementTree compatible parser ETCompatXMLParser strips
@@ -105,7 +160,7 @@ rm -rf %{buildroot}
* Element() did not raise an exception on tag names containing ':'
* Element.getiterator(tag) did not accept Comment and ProcessingInstruction
as tags. It also accepts Element now.
-* Fri Jan 19 2007 - toms@suse.de
+* Fri Jan 19 2007 toms@suse.de
Updated to 1.1.2 with the following changes:
Features added:
* Data elements in objectify support repr(), which is now used by dump()
@@ -123,5 +178,5 @@ rm -rf %{buildroot}
* HTML script/style content was not propagated to .text
* Show text xincluded between text nodes correctly in .text and .tail
* 'integer * objectify.StringElement' operation was not supported
-* Fri Dec 01 2006 - toms@suse.de
+* Fri Dec 01 2006 toms@suse.de
- New package 1.1.2 moved from openSUSE build server