Hello community, here is the log from the commit of package python-lxml for openSUSE:Factory checked in at Sat Jun 6 00:28:17 CEST 2009. -------- --- python-lxml/python-lxml.changes 2009-04-23 14:16:30.000000000 +0200 +++ python-lxml/python-lxml.changes 2009-06-03 11:06:16.000000000 +0200 @@ -1,0 +2,18 @@ +Wed Jun 03 10:47:00 CEST 2009 - toms@suse.de + +- Updated to 2.2.1: + Features added: + * Injecting default attributes into a document during XML Schema + validation (also at parse time). + * Pass huge_tree parser option to disable parser security restrictions + imposed by libxml2 2.7. + + Bugs fixed + * The script for statically building libxml2 and libxslt didn't work in Py3. + * XMLSchema() also passes invalid schema documents on to libxml2 for + parsing (which could lead to a crash before release 2.6.24). + +Full list: http://codespeak.net/lxml/changes-2.2.1.html + + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- lxml-2.2.tar.bz2 lxmldoc-2.2.pdf New: ---- lxml-2.2.1.tar.bz2 lxmldoc-2.2.1.pdf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.c26275/_old 2009-06-06 00:27:28.000000000 +0200 +++ /var/tmp/diff_new_pack.c26275/_new 2009-06-06 00:27:28.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-lxml (Version 2.2) +# spec file for package python-lxml (Version 2.2.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -16,22 +16,22 @@ # +%define modname lxml Name: python-lxml -%define modname lxml -%define docpdf %{modname}doc-2.2.pdf Url: http://codespeak.net/lxml Summary: A Pythonic Binding for the libxml2 and libxslt Libraries -Version: 2.2 +Version: 2.2.1 Release: 1 License: BSD 3-Clause Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.bz2 -Source1: %{docpdf} +Source1: %{modname}doc-%{version}.pdf Source2: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} Requires: pyxml +# Requires: libxml2 libxslt BuildRequires: libxslt-devel pyrex python-devel pyxml %description @@ -68,40 +68,48 @@ % --------------------------------- %prep %setup -q -n %{modname}-%{version} -%{__cp} %{S:1} . %build export CFLAGS="$RPM_OPT_FLAGS" -python setup.py build +%{__python} setup.py build +%{__cp} %{S:1} . %install -#%{__install} -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} \ -# $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES -#cat INSTALLED_FILES.tmp | sed s#%{_defaultdocdir}/%{name}##g > INSTALLED_FILES -#%{__cp} -a doc/html $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} -#%{__cp} -a doc/*.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} -#%{__cp} -a doc/*.py $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples -#%{__cp} -a benchmark $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/examples -echo "*** $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py" -[ -e $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py ] && \ - %{__chmod} -x $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/rest2html.py +%{__python} setup.py install \ + --prefix=%{_prefix} \ + --root=$RPM_BUILD_ROOT \ + --record-rpm=INSTALLED_FILES.txt +# Avoid warnings from rpmlint: +[ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/ +# Remove any duplicate files: +for i in doc/html/pubkey.asc ; do + [ -e "$i" ] && %{__rm} "$i" +done %clean -rm -rf %{buildroot} +%{__rm} -rf %{buildroot} -%files -f INSTALLED_FILES +%files -f INSTALLED_FILES.txt %defattr(-,root,root) %doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt -%{py_sitedir}/lxml %files doc %defattr(-,root,root) -%doc doc/html doc/*.* benchmark -%doc %{docpdf} -%{_defaultdocdir}/%{name} +%doc doc/html doc/examples doc/*.* benchmark %{modname}doc-%{version}.pdf %changelog +* Wed Jun 03 2009 toms@suse.de +- Updated to 2.2.1: + Features added: + * Injecting default attributes into a document during XML Schema + validation (also at parse time). + * Pass huge_tree parser option to disable parser security restrictions + imposed by libxml2 2.7. + Bugs fixed + * The script for statically building libxml2 and libxslt didn't work in Py3. + * XMLSchema() also passes invalid schema documents on to libxml2 for + parsing (which could lead to a crash before release 2.6.24). + Full list: http://codespeak.net/lxml/changes-2.2.1.html * Fri Apr 03 2009 toms@suse.de - Merged changes file with old entries * Thu Apr 02 2009 toms@suse.de ++++++ lxml-2.2.tar.bz2 -> lxml-2.2.1.tar.bz2 ++++++ ++++ 99913 lines of diff (skipped) ++++++ lxmldoc-2.2.pdf -> lxmldoc-2.2.1.pdf ++++++ (binary differes) ++++++ python-lxml-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.c26275/_old 2009-06-06 00:27:36.000000000 +0200 +++ /var/tmp/diff_new_pack.c26275/_new 2009-06-06 00:27:36.000000000 +0200 @@ -1,6 +1,3 @@ # -addFilter("files-duplicate .*/html/pubkey.asc") -addFilter("files-duplicate .*/api/frames.html") -addFilter("files-duplicate .*/api/toc-lxml.html.usedoctest-module.html") -addFilter("description-shorter-than-summary") -addFilter("spurious-executable-perm .*/rest2html.py") \ No newline at end of file +addFilter("files-duplicate .*/toc-lxml.html.usedoctest-module.html") +addFilter("files-duplicate .*/html/api/frames.html") \ No newline at end of file ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org