Accepting request 142614 from devel:languages:python

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

- Removed openSUSE 11.4 spec file workarounds

OBS-URL: https://build.opensuse.org/request/show/142614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=35
This commit is contained in:
Stephan Kulow 2012-11-26 18:53:10 +00:00 committed by Git OBS Bridge
commit 1bbc72125b
4 changed files with 12 additions and 9 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

View File

@ -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)")}

View File

@ -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

View File

@ -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