forked from pool/python-selenium
Accepting request 1094321 from home:Guillaume_G:branches:devel:languages:python
- Fix packaging for non-x86_64 architectures OBS-URL: https://build.opensuse.org/request/show/1094321 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=87
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>
|
Fri Jun 9 06:29:05 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -61,13 +61,6 @@ cp %{SOURCE2} .
|
|||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%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
|
%check
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
Reference in New Issue
Block a user