forked from pool/python-selenium
Accepting request 828048 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828048 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-selenium?expand=0&rev=13
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -55,8 +55,11 @@ supported, as well as the Selenium 1.0 bindings.
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# Avoid 64bit runtime dependencies on 32bit architectures:
|
||||
%ifarch %{ix86} %arm
|
||||
# Do not package .so built for foreign architectures
|
||||
%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
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user