From 3511c1f59c3476a03850fc73192fb9541d42c178bfe9c8c8ae5663c669c0e44f Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Wed, 26 May 2010 13:26:46 +0000 Subject: [PATCH] - 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 --- data_files.patch | 18 ------------------ python-selenium.changes | 7 +++++++ python-selenium.spec | 38 ++++++++++++++++++++++++++------------ selenium-1.0.1.tar.gz | 3 --- selenium-1.0.3.tar.gz | 3 +++ 5 files changed, 36 insertions(+), 33 deletions(-) delete mode 100644 data_files.patch delete mode 100644 selenium-1.0.1.tar.gz create mode 100644 selenium-1.0.3.tar.gz diff --git a/data_files.patch b/data_files.patch deleted file mode 100644 index d6b0cc2..0000000 --- a/data_files.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naurh ./setup.py selenium-1.0.1/setup.py ---- ./setup.py 2009-09-21 18:13:27.000000000 -0300 -+++ selenium-1.0.1/setup.py 2009-09-21 18:13:50.000000000 -0300 -@@ -60,10 +60,10 @@ - package_dir = {'':'src'}, - py_modules=['selenium'], - # put data files in egg 'doc' dir -- data_files=[ ('doc', [ -- 'README.txt', -- ] -- )], -+# data_files=[ ('doc', [ -+# 'README.txt', -+# ] -+# )], - include_package_data = True, - zip_safe = False, - ) diff --git a/python-selenium.changes b/python-selenium.changes index 3074e04..e76ac20 100644 --- a/python-selenium.changes +++ b/python-selenium.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 26 13:12:03 UTC 2010 - alexandre@exatati.com.br + +- Update to 1.0.3; +- Building as noarch for openSUSE >= 11.2; +- Spec file cleaned with spec-cleaner. + ------------------------------------------------------------------- Wed Mar 3 12:59:09 CET 2010 - boris@steki.net diff --git a/python-selenium.spec b/python-selenium.spec index eed972a..ca5ea50 100644 --- a/python-selenium.spec +++ b/python-selenium.spec @@ -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 - %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 diff --git a/selenium-1.0.1.tar.gz b/selenium-1.0.1.tar.gz deleted file mode 100644 index 3a59c30..0000000 --- a/selenium-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c236eb6e7931b86473f3925b9568433d7c9e027a8f39accf0f2204fe56358fbf -size 24193 diff --git a/selenium-1.0.3.tar.gz b/selenium-1.0.3.tar.gz new file mode 100644 index 0000000..2e8a526 --- /dev/null +++ b/selenium-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c9aa1d8284e16d971228605239ae30252b0de1a52eea5b1759f01447951083c +size 19288