X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-lxml.git;a=blobdiff_plain;f=python-lxml.spec;h=c2bbfd599961e76fce4b1f9d4b2db5e2a91730bc;hp=d91d7f449e0803e51b5ced13358cd8b30beb9199;hb=3198043504cc02986699a8259c55d362679654f9;hpb=8b26c81fbd6451a47d88c6895d65ae0cecd25c9e diff --git a/python-lxml.spec b/python-lxml.spec index d91d7f4..c2bbfd5 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -2,19 +2,17 @@ %define module lxml # Summary: A Pythonic binding for the libxml2 and libxslt libraries -Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt +Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt Name: python-%{module} -Version: 0.8 -Release: 2 +Version: 2.0.5 +Release: 1 License: BSD Group: Development/Languages/Python Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz -# Source0-md5: b156da08fea2af7b34774d5f9c4fa206 -Patch0: %{name}-path.patch +# Source0-md5: 2cc8caf84c3b55353d5513c6d668c090 URL: http://codespeak.net/lxml/ BuildRequires: libxml2-devel BuildRequires: libxslt-devel -BuildRequires: python-Pyrex >= 0.9.4.2 BuildRequires: python-devel BuildRequires: rpmbuild(macros) >= 1.219 BuildRequires: unzip @@ -28,7 +26,6 @@ lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt. %prep %setup -q -n %{module}-%{version} -%patch0 -p1 %build python setup.py build @@ -50,7 +47,9 @@ rm -rf $RPM_BUILD_ROOT %doc doc/* CHANGES.txt CREDITS.txt TODO.txt %dir %{py_sitedir}/lxml %{py_sitedir}/lxml/*.py[co] -%attr(755,root,root) %{py_sitedir}/lxml/*.so -%dir %{py_sitedir}/lxml/tests -%{py_sitedir}/lxml/tests/*.py[co] -%{py_sitedir}/lxml/tests/*.xml +%dir %{py_sitedir}/lxml/html +%{py_sitedir}/lxml/html/*.py[co] +%attr(755,root,root) %{py_sitedir}/lxml/etree.so +%attr(755,root,root) %{py_sitedir}/lxml/objectify.so +%attr(755,root,root) %{py_sitedir}/lxml/pyclasslookup.so +%{py_sitedir}/lxml-*.egg-info