forked from pool/python-selenium
Accepting request 1094864 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1094864 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-selenium?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 08:09:17 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Fix packaging for non-x86_64 architectures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 06:29:05 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -61,13 +61,6 @@ cp %{SOURCE2} .
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# 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
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
|
Reference in New Issue
Block a user