[packages/python-selenium] - don't package firefox webdriver for wrong arch - rel 4

baggins baggins at pld-linux.org
Wed Apr 11 08:27:54 CEST 2018


commit ee516b864aa661cebb9c45b86bac15143550da45
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Apr 11 08:27:30 2018 +0200

    - don't package firefox webdriver for wrong arch
    - rel 4

 python-selenium.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-selenium.spec b/python-selenium.spec
index 3cc981f..fe2e828 100644
--- a/python-selenium.spec
+++ b/python-selenium.spec
@@ -13,7 +13,7 @@
 Summary:	Python bindings for selenium
 Name:		python-%{module}
 Version:	3.11.0
-Release:	3
+Release:	4
 License:	BSD-like
 Group:		Development/Languages/Python
 Source0:	https://pypi.debian.net/selenium/%{module}-%{version}%{_rc}.tar.gz
@@ -90,18 +90,22 @@ unzip $RPM_BUILD_DIR/%{module}-%{version}%{_rc}/selenium/webdriver/firefox/webdr
 %ifnarch %{x8664}
 %if %{with python2}
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/%{module}/webdriver/firefox/amd64
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/webdriver/firefox/amd64
 %endif
 %if %{with python3}
 %{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/webdriver/firefox/amd64
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{module}/webdriver/firefox/amd64
 %endif
 %endif
 
 %ifnarch %{ix86}
 %if %{with python2}
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/%{module}/webdriver/firefox/x86
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/webdriver/firefox/x86
 %endif
 %if %{with python3}
 %{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/webdriver/firefox/x86
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/%{module}/webdriver/firefox/x86
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-selenium.git/commitdiff/ee516b864aa661cebb9c45b86bac15143550da45



More information about the pld-cvs-commit mailing list