X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-lxml.git;a=blobdiff_plain;f=python-lxml.spec;h=e4a10c6e245b9057b2a3bb1292cf9c981695105e;hp=e76f0af6d40b159d8e770252f8647b4229839c60;hb=8fa118576b63096675c413db0181b33a89ec5be6;hpb=9295daeb913fdb3e403db3698ae04877ed058f1d diff --git a/python-lxml.spec b/python-lxml.spec index e76f0af..e4a10c6 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -8,13 +8,12 @@ Summary: A Pythonic binding for the libxml2 and libxslt libraries Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt Name: python-%{module} -Version: 2.2.7 -Release: 2 +Version: 2.3.2 +Release: 1 License: BSD Group: Libraries/Python Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz -# Source0-md5: c1da56b823fdc00804938d2b788dbfd0 -Patch0: python3.patch +# Source0-md5: 50ed3706da4665c40600fd6e2a7d1159 URL: http://codespeak.net/lxml/ BuildRequires: libxml2-devel BuildRequires: libxslt-devel @@ -60,7 +59,6 @@ API and internal documentation for lxml library. %prep %setup -q -n %{module}-%{version} -%patch0 -p1 %build %if %{with python2} @@ -87,8 +85,6 @@ rm -rf $RPM_BUILD_ROOT install \ --root=$RPM_BUILD_ROOT \ --optimize=2 - -%py3_postclean %endif # cleanup for packaging @@ -110,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT %doc docs/* CHANGES.txt CREDITS.txt TODO.txt %dir %{py_sitedir}/lxml %{py_sitedir}/lxml/*.py[co] +%{py_sitedir}/lxml/isoschematron %dir %{py_sitedir}/lxml/html %{py_sitedir}/lxml/html/*.py[co] %attr(755,root,root) %{py_sitedir}/lxml/etree.so @@ -122,11 +119,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc docs/* CHANGES.txt CREDITS.txt TODO.txt %dir %{py3_sitedir}/lxml -%{py3_sitedir}/lxml/*.py[co] -%dir %{py3_sitedir}/lxml/html -%{py3_sitedir}/lxml/html/*.py[co] -%attr(755,root,root) %{py3_sitedir}/lxml/etree.so -%attr(755,root,root) %{py3_sitedir}/lxml/objectify.so +%attr(755,root,root) %{py3_sitedir}/lxml/*.so +%{py3_sitedir}/lxml/*.py +%{py3_sitedir}/lxml/__pycache__ +%{py3_sitedir}/lxml/isoschematron +%{py3_sitedir}/lxml/html %{py3_sitedir}/lxml-*.egg-info %endif