From 84ae223d6f99536591a3b8272a6b796eae58b5667445a05d83e98eb13d53e765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 23 Jun 2023 11:28:53 +0000 Subject: [PATCH] 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 --- python-selenium.changes | 5 +++++ python-selenium.spec | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/python-selenium.changes b/python-selenium.changes index c544249..a4adb58 100644 --- a/python-selenium.changes +++ b/python-selenium.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 21 08:09:17 UTC 2023 - Guillaume GARDET + +- Fix packaging for non-x86_64 architectures + ------------------------------------------------------------------- Fri Jun 9 06:29:05 UTC 2023 - Steve Kowalik diff --git a/python-selenium.spec b/python-selenium.spec index 37b97cd..077cd45 100644 --- a/python-selenium.spec +++ b/python-selenium.spec @@ -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