Hello community, here is the log from the commit of package python-lxml for openSUSE:Factory checked in at Mon Sep 5 18:12:58 CEST 2011.
-------- --- python-lxml/python-lxml.changes 2011-03-03 09:46:41.000000000 +0100 +++ python-lxml/python-lxml.changes 2011-09-02 19:36:34.000000000 +0200 @@ -1,0 +2,23 @@ +Fri Sep 2 17:36:33 UTC 2011 - [email protected] + +- license update: BSD-3-Clause and GPL-2.0+ + See LICENSES.TXT - test.py is GPL licensed (aggregation) + +------------------------------------------------------------------- +Fri Sep 2 12:08:59 UTC 2011 - [email protected] + +- Simpler PDF install + +------------------------------------------------------------------- +Fri Sep 2 11:06:52 UTC 2011 - [email protected] + +- Build against Cython instead of pyrex +- Don't repackage source tarball +- Remove unneeded rpmlint filters + +------------------------------------------------------------------- +Tue Aug 30 18:40:26 UTC 2011 - [email protected] + +- Fixed typo in description of python-lxml.spec + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- lxml-2.3.tar.bz2 python-lxml-rpmlintrc New: ---- lxml-2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.nPWAyd/_old 2011-09-05 18:12:39.000000000 +0200 +++ /var/tmp/diff_new_pack.nPWAyd/_new 2011-09-05 18:12:39.000000000 +0200 @@ -16,86 +16,61 @@ # -%define modname lxml Name: python-lxml Version: 2.3 -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 +Release: 2 +Url: http://lxml.de/ +Summary: Powerful and Pythonic XML processing library +License: BSD-3-Clause and GPL-2.0+ +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz +Source1: lxmldoc-%{version}.pdf BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} -# 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 - -# +BuildRequires: python-devel +BuildRequires: libxslt-devel +BuildRequires: python-Cython +%if 0%{?suse_version} +%py_requires +%endif +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %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 -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. - -Author: -------- - Stefan Behnel - main developer and maintainer - Martijn Faassen - creator of lxml and initial main developer - and others +lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It +provides safe and convenient access to these libraries using the ElementTree +API. It extends the ElementTree API significantly to offer support for XPath, +RelaxNG, XML Schema, XSLT, C14N and much more. %package doc -License: BSD3c -Summary: Documentation for %{name} + +Summary: Powerful and Pythonic XML processing library - Documentation Group: Development/Libraries/Python %description doc -Documentation for %{modname} (HTML and PDF). +lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It +provides safe and convenient access to these libraries using the ElementTree +API. It extends the ElementTree API significantly to offer support for XPath, +RelaxNG, XML Schema, XSLT, C14N and much more. + +This package contains documentation for lxml (HTML and PDF). -# --------------------------------- %prep -%setup -q -n %{modname}-%{version} +%setup -q -n lxml-%{version} +cp %{SOURCE1} . %build -export CFLAGS="%{optflags}" -%{__python} setup.py build -%{__cp} %{S:1} . +CFLAGS="%{optflags}" python setup.py build %install -%{__python} setup.py install \ - --optimize 1 \ - --prefix=%{_prefix} \ - --root=%{buildroot} \ - --record-rpm=INSTALLED_FILES.txt - -[ -e doc/rest2html.py ] && %{__mkdir} doc/examples && %{__mv} doc/rest2html.py doc/examples/ - -for i in doc/html/pubkey.asc ; do - [ -e "$i" ] && %{__rm} "$i" -done - -%clean -%{__rm} -rf %{buildroot} - -%files -f INSTALLED_FILES.txt -%defattr(-,root,root) -%doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files doc %defattr(-,root,root) -%doc doc/html doc/examples doc/*.* benchmark %{modname}doc-%{version}.pdf +%doc doc/html lxmldoc-%{version}.pdf + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt CREDITS.txt IDEAS.txt LICENSES.txt README.txt TODO.txt +%{python_sitearch}/* %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
