14
0

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
This commit is contained in:
Michal Čihař
2015-07-16 08:19:37 +00:00
committed by Git OBS Bridge
parent fa82ea1a4a
commit 2ed886c2aa
2 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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,-)