From 674cdbba1eba29035a198400bf67fc62fec767605ed248b61410f2674d315663 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 4 Mar 2010 12:07:23 +0000 Subject: [PATCH] Accepting request 33853 from home:bmanojlovic:branches:devel:languages:python Copy from home:bmanojlovic:branches:devel:languages:python/python-selenium via accept of submit request 33853 revision 3. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/33853 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=2 --- python-selenium.changes | 7 +++++++ python-selenium.spec | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-selenium.changes b/python-selenium.changes index 723ff68..3074e04 100644 --- a/python-selenium.changes +++ b/python-selenium.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 3 12:59:09 CET 2010 - boris@steki.net + +- Changed default installation path as x86_64 system was installing + libraries into /usr/lib/python2.6 which is wrong and is not pythons + default search path + ------------------------------------------------------------------- Wed Sep 16 19:08:22 UTC 2009 - alexandre@exatati.com.br diff --git a/python-selenium.spec b/python-selenium.spec index 6bd3673..eed972a 100644 --- a/python-selenium.spec +++ b/python-selenium.spec @@ -13,6 +13,8 @@ BuildRequires: python-devel, python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} +# This code is taken from /etc/rpm/macros.python on openSUSE 11.2 +%define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);") %description Selenium Python Client Driver is a Python language binding for Selenium Remote Control. @@ -32,7 +34,7 @@ Author: %install -%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +%{__python} setup.py install --install-lib=%python_sitearch --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES %files -f INSTALLED_FILES