- BuildRequire libxml2-devel instead of pkconfi() to allow building

on SLE_11_SP2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=45
This commit is contained in:
Sascha Peilicke 2012-11-23 16:24:32 +00:00 committed by Git OBS Bridge
parent 4f6c287b03
commit 22757510ab
2 changed files with 7 additions and 1 deletions

View File

@ -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 Mon Jun 4 20:55:38 UTC 2012 - os-dev@jacraig.com

View File

@ -25,10 +25,10 @@ Group: Development/Languages/Python
Url: http://lxml.de/ Url: http://lxml.de/
Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz Source: http://pypi.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
Source1: http://lxml.de/lxmldoc-%{version}.pdf Source1: http://lxml.de/lxmldoc-%{version}.pdf
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: python-Cython BuildRequires: python-Cython
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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)")} %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}