forked from pool/python-selenium
- Use upstream tarball
- Simplified macro usage - Remove unused Windows DLL files - The package is noarch, it contains binary Firefox modules for x86_64 and i586 - Therefore add ExclusiveArch: %x86 x86_64 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
93c266899a
commit
46bb05d577
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 2 12:29:00 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Use upstream tarball
|
||||||
|
- Simplified macro usage
|
||||||
|
- Remove unused Windows DLL files
|
||||||
|
- The package is noarch, it contains binary Firefox modules for x86_64
|
||||||
|
and i586
|
||||||
|
- Therefore add ExclusiveArch: %x86 x86_64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 27 23:17:45 UTC 2012 - alexandre@exatati.com.br
|
Mon Feb 27 23:17:45 UTC 2012 - alexandre@exatati.com.br
|
||||||
|
|
||||||
|
@@ -11,13 +11,10 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
Name: python-selenium
|
Name: python-selenium
|
||||||
Version: 2.20.0
|
Version: 2.20.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,16 +22,17 @@ Url: http://code.google.com/p/selenium/
|
|||||||
Summary: Python bindings for Selenium
|
Summary: Python bindings for Selenium
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: selenium-%{version}.tar.bz2
|
Source: http://pypi.python.org/packages/source/s/selenium/selenium-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
Requires: python-rdflib
|
Requires: python-rdflib
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%py_requires
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%if 0%{?suse_version} > 1110
|
# Contains pre-build Firefox plugins for x86_64 and i586, thus not noarch:
|
||||||
BuildArch: noarch
|
#%%else
|
||||||
%endif
|
#BuildArch: noarch
|
||||||
|
ExclusiveArch: %ix86 x86_64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@@ -54,9 +52,11 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
rm -r %{buildroot}%{python_sitelib}/selenium/webdriver/ie/{win32,x64}/IEDriver.dll # Remove unused Windows DLLs
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2e4b09a542aaa2ace131ffd63daaca7150129f674e3744cc22063f94e4016689
|
|
||||||
size 4048117
|
|
3
selenium-2.20.0.tar.gz
Normal file
3
selenium-2.20.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9808c5dfdd9f028d0361ba5a0ea717743849f4dee3eefc397a0b65e6cb3f06fd
|
||||||
|
size 4200623
|
Reference in New Issue
Block a user