forked from pool/python-selenium
Accepting request 828037 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Package x_ignore_nofocus.so on supported architectures only OBS-URL: https://build.opensuse.org/request/show/828037 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=83
This commit is contained in:
committed by
Git OBS Bridge
parent
0ff593de2f
commit
ead3480ec8
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 08:30:39 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Package x_ignore_nofocus.so on supported architectures only
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 24 10:38:52 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Wed Jun 24 10:38:52 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@@ -55,8 +55,11 @@ supported, as well as the Selenium 1.0 bindings.
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
# Avoid 64bit runtime dependencies on 32bit architectures:
|
# Do not package .so built for foreign architectures
|
||||||
%ifarch %{ix86} %arm
|
%ifnarch %{ix86} x86_64
|
||||||
|
%python_expand rm %{buildroot}%{$python_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
|
||||||
|
%endif
|
||||||
|
%ifnarch x86_64
|
||||||
%python_expand rm %{buildroot}%{$python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
|
%python_expand rm %{buildroot}%{$python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user