diff --git a/python-selenium.changes b/python-selenium.changes index 704916d..b9ee017 100644 --- a/python-selenium.changes +++ b/python-selenium.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 20 08:30:39 UTC 2020 - Guillaume GARDET + +- Package x_ignore_nofocus.so on supported architectures only + ------------------------------------------------------------------- Wed Jun 24 10:38:52 UTC 2020 - Guillaume GARDET diff --git a/python-selenium.spec b/python-selenium.spec index b947348..e59a5e0 100644 --- a/python-selenium.spec +++ b/python-selenium.spec @@ -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