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