X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-lxml.git;a=blobdiff_plain;f=python-lxml.spec;h=3588c521388bbb38dda2d38d5ce9332b95adbc5a;hp=d91d7f449e0803e51b5ced13358cd8b30beb9199;hb=98b009f21ab7cd90878c542866876915ab325401;hpb=8b26c81fbd6451a47d88c6895d65ae0cecd25c9e diff --git a/python-lxml.spec b/python-lxml.spec index d91d7f4..3588c52 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.2.3 +Release: 1 License: BSD -Group: Development/Languages/Python +Group: Libraries/Python Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz -# Source0-md5: b156da08fea2af7b34774d5f9c4fa206 -Patch0: %{name}-path.patch +# Source0-md5: 0b3fcd56909273b3db864133475449dc 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,8 @@ 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 +%{py_sitedir}/lxml-*.egg-info