forked from pool/python-selenium
- We're not in Factory, so we can safely install the binary extension
until this is solved otherwise (bnc#788988) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=33
This commit is contained in:
committed by
Git OBS Bridge
parent
7d7a09b02e
commit
503cb5e51a
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 9 12:48:15 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- We're not in Factory, so we can safely install the binary extension
|
||||||
|
until this is solved otherwise (bnc#788988)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 3 03:04:26 UTC 2012 - alexandre@exatati.com.br
|
Sat Nov 3 03:04:26 UTC 2012 - alexandre@exatati.com.br
|
||||||
|
|
||||||
|
@@ -15,9 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
Name: python-selenium
|
Name: python-selenium
|
||||||
Version: 2.26.0
|
Version: 2.26.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -30,11 +27,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
Requires: python-rdflib
|
Requires: python-rdflib
|
||||||
%if 0%{?suse_version}
|
ExclusiveArch: %ix86 x86_64
|
||||||
%py_requires
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%if 0%{?suse_version} > 1110
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,8 +48,6 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
#rm -r %{buildroot}%{python_sitelib}/selenium/webdriver/ie/{win32,x64}/IEDriver.dll # Remove unused Windows DLLs
|
|
||||||
rm -r %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/{amd64,x86}/x_ignore_nofocus.so # Don't install binary Firefox extension
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Reference in New Issue
Block a user