diff --git a/python-lxml.changes b/python-lxml.changes index eb50871..5f42cd1 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 15 18:40:33 UTC 2012 - saschpe@suse.de + +- BuildRequire libxml2-devel instead of pkconfi() to allow building + on SLE_11_SP2 + ------------------------------------------------------------------- Mon Jun 4 20:55:38 UTC 2012 - os-dev@jacraig.com diff --git a/python-lxml.spec b/python-lxml.spec index 19700f9..da8302c 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -25,10 +25,10 @@ Group: Development/Languages/Python Url: http://lxml.de/ Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz Source1: http://lxml.de/lxmldoc-%{version}.pdf +BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: python-Cython BuildRequires: python-devel -BuildRequires: pkgconfig(libxml-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} diff --git a/python3-lxml.changes b/python3-lxml.changes index ca88181..6d01006 100644 --- a/python3-lxml.changes +++ b/python3-lxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com + +- Removed openSUSE 11.4 spec file workarounds + ------------------------------------------------------------------- Thu May 24 08:06:22 UTC 2012 - highwaystar.ru@gmail.com diff --git a/python3-lxml.spec b/python3-lxml.spec index 3d0bd0f..a40936a 100644 --- a/python3-lxml.spec +++ b/python3-lxml.spec @@ -30,15 +30,7 @@ BuildRequires: python3-Cython BuildRequires: python3-devel BuildRequires: pkgconfig(libxml-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if 0%{?suse_version} <= 1140 -%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)")} -%endif Requires: python(abi) = %{py3_ver} -%if 0%{?suse_version} && 0%{?suse_version} > 1140 -BuildRequires: python3-base -%endif %description lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It