forked from pool/python-selenium
- Update to 1.0.3;
- Building as noarch for openSUSE >= 11.2; - Spec file cleaned with spec-cleaner. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
674cdbba1e
commit
3511c1f59c
@@ -1,20 +1,36 @@
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-selenium
|
||||
Version: 1.0.1
|
||||
Version: 1.0.3
|
||||
Release: 1
|
||||
Summary: A Python language binding for Selenium RC
|
||||
License: Apache 2.0
|
||||
Summary: A Python language binding for Selenium RC
|
||||
Url: http://www.openqa.org
|
||||
Group: Development/Libraries/Python
|
||||
Source: selenium-%{version}.tar.gz
|
||||
Patch: data_files.patch
|
||||
URL: http://www.openqa.org
|
||||
BuildRequires: python-devel, python-setuptools
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
|
||||
# This code is taken from /etc/rpm/macros.python on openSUSE 11.2
|
||||
%define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Selenium Python Client Driver is a Python language binding for Selenium Remote Control.
|
||||
@@ -23,10 +39,8 @@ Author:
|
||||
--------
|
||||
Maik Roeder <roeder@berg.net>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n selenium-%{version}
|
||||
%patch
|
||||
|
||||
|
||||
%build
|
||||
@@ -34,7 +48,7 @@ Author:
|
||||
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --install-lib=%python_sitearch --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
|
Reference in New Issue
Block a user