forked from pool/python-selenium
Accepting request 477840 from home:bmanojlovic:branches:devel:languages:python
- updated to latest official release 3.0.2 OBS-URL: https://build.opensuse.org/request/show/477840 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
12936bedf4
commit
0e04a7aaeb
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-selenium
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: python-selenium
|
||||
Version: 2.53.6
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
Url: http://code.google.com/p/selenium/
|
||||
Url: https://github.com/SeleniumHQ/selenium
|
||||
Summary: Python bindings for Selenium
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
@@ -29,9 +29,7 @@ BuildRequires: python-devel
|
||||
BuildRequires: python-rdflib
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-rdflib
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%endif
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
|
||||
%description
|
||||
Selenium Python Client Driver is a Python language binding for Selenium Remote
|
||||
@@ -50,13 +48,8 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# Avoid 64bit runtime dependencies on 32bit architectures:
|
||||
%ifnarch x86_64
|
||||
%ifarch %ix86
|
||||
rm %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
|
||||
ln %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
|
||||
%endif
|
||||
%ifnarch %ix86
|
||||
rm %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
|
||||
ln %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
|
||||
%endif
|
||||
|
||||
%files
|
||||
|
Reference in New Issue
Block a user