From 2ed886c2aa0e5d38a20bc63f49a52fc00c4c5ab050994ac52aab8c74d4d0cf0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 16 Jul 2015 08:19:37 +0000 Subject: [PATCH] Accepting request 317044 from home:Nijel:branches:devel:languages:python - Remove foreign architecture binaries to avoid cross architecture dependencies OBS-URL: https://build.opensuse.org/request/show/317044 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=48 --- python-selenium.changes | 5 +++++ python-selenium.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-selenium.changes b/python-selenium.changes index 946c8cc..e2a67bd 100644 --- a/python-selenium.changes +++ b/python-selenium.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 16 08:14:50 UTC 2015 - mcihar@suse.cz + +- Remove foreign architecture binaries to avoid cross architecture dependencies + ------------------------------------------------------------------- Thu Jul 16 08:04:26 UTC 2015 - mcihar@suse.cz diff --git a/python-selenium.spec b/python-selenium.spec index 5c0c4fc..eec5bcc 100644 --- a/python-selenium.spec +++ b/python-selenium.spec @@ -50,9 +50,12 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} # Avoid 64bit runtime dependencies on 32bit architectures: -%ifarch %ix86 +%ifnarch x86_64 rm %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so %endif +%ifnarch %ix86 +rm %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so +%endif %files %defattr(-,root,root,-)