[packages/php-phpunit-PHPUnit_Selenium] - up to 1.2.9

glen glen at pld-linux.org
Wed Oct 17 20:26:06 CEST 2012


commit aac87a469ce79b298ed5bfb47127d6901a3d6a17
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 17 21:25:57 2012 +0300

    - up to 1.2.9

 peardeps.patch                    |  6 ++++++
 php-phpunit-PHPUnit_Selenium.spec | 11 +++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/php-phpunit-PHPUnit_Selenium.spec b/php-phpunit-PHPUnit_Selenium.spec
index 9f9f696..7058804 100644
--- a/php-phpunit-PHPUnit_Selenium.spec
+++ b/php-phpunit-PHPUnit_Selenium.spec
@@ -3,12 +3,13 @@
 %include	/usr/lib/rpm/macros.php
 Summary:	%{pearname} - Selenium RC integration for PHPUnit
 Name:		php-phpunit-PHPUnit_Selenium
-Version:	1.2.6
-Release:	2
+Version:	1.2.9
+Release:	1
 License:	BSD License
 Group:		Development/Languages/PHP
 Source0:	http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
-# Source0-md5:	b13d69a1aeb5977a738ac66de6dbb2bb
+# Source0-md5:	1efe6cde459897295cd97fba63e02586
+Patch0:		peardeps.patch
 URL:		http://pear.phpunit.de/
 BuildRequires:	php-channel(pear.phpunit.de)
 BuildRequires:	php-packagexml2cl
@@ -20,7 +21,7 @@ Requires:	php(dom)
 Requires:	php(spl)
 Requires:	php-channel(pear.phpunit.de)
 Requires:	php-pear
-Requires:	php-phpunit-PHPUnit >= 3.6.0
+Requires:	php-phpunit-PHPUnit >= 3.7.0
 Requires:	php-reflection
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,6 +33,7 @@ In PEAR status of this package is: %{status}.
 
 %prep
 %pear_package_setup
+%patch0 -p1
 
 %build
 packagexml2cl package.xml > ChangeLog
@@ -54,3 +56,4 @@ rm -rf $RPM_BUILD_ROOT
 %{php_pear_dir}/PHPUnit/Extensions/Selenium2TestCase.php
 %{php_pear_dir}/PHPUnit/Extensions/Selenium2TestCase
 %{php_pear_dir}/PHPUnit/Extensions/SeleniumBrowserSuite.php
+%{php_pear_dir}/PHPUnit/Extensions/SeleniumCommon
diff --git a/peardeps.patch b/peardeps.patch
new file mode 100644
index 0000000..30f9901
--- /dev/null
+++ b/peardeps.patch
@@ -0,0 +1,6 @@
+--- PHPUnit_Selenium-1.2.9/./usr/share/pear/PHPUnit/Extensions/SeleniumTestCase/Autoload.php~	2012-10-17 21:22:57.000000000 +0300
++++ PHPUnit_Selenium-1.2.9/./usr/share/pear/PHPUnit/Extensions/SeleniumTestCase/Autoload.php	2012-10-17 21:24:26.462105529 +0300
+@@ -1,2 +1,2 @@
+ <?php
+-require_once dirname(__FILE__) . '/../SeleniumCommon/Autoload.php';
++require_once 'PHPUnit/Extensions/SeleniumCommon/Autoload.php';
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpunit-PHPUnit_Selenium.git/commitdiff/aac87a469ce79b298ed5bfb47127d6901a3d6a17



More information about the pld-cvs-commit mailing list