From 4f6c287b03962d0fd6582e7556d18b9d9bd7f512fec5e992197ee428504c581a Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 22 Nov 2012 14:36:58 +0000 Subject: [PATCH 1/2] Accepting request 142447 from devel:languages:python3 Remove openSUSE 11.4 spec file workarounds (forwarded request 142444 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142447 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=44 --- python3-lxml.changes | 5 +++++ python3-lxml.spec | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) 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 From 22757510ab2c4dca43aa08865d7e753a2851b2e24d8cfaa21473b3564e0cc768 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 23 Nov 2012 16:24:32 +0000 Subject: [PATCH 2/2] - 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 --- python-lxml.changes | 6 ++++++ python-lxml.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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)")}