[php-phpunit-PHPUnit-Selenium/el6] update to 1.2.12

Remi Collet remi at fedoraproject.org
Fri Apr 12 16:22:10 UTC 2013


commit d13bdf79df89c9288a2448fdc855cfe528aa877a
Author: Remi Collet <rcollet at redhat.com>
Date:   Fri Apr 12 18:21:48 2013 +0200

    update to 1.2.12

 .gitignore                        |    4 +++
 php-phpunit-PHPUnit-Selenium.spec |   40 +++++++++++++++++++++---------------
 sources                           |    2 +-
 3 files changed, 28 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a5154c7..e29fd0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,7 @@ package*.xml
 /PHPUnit_Selenium-1.2.5.tgz
 /PHPUnit_Selenium-1.2.6.tgz
 /PHPUnit_Selenium-1.2.7.tgz
+/PHPUnit_Selenium-1.2.8.tgz
+/PHPUnit_Selenium-1.2.10.tgz
+/PHPUnit_Selenium-1.2.11.tgz
+/PHPUnit_Selenium-1.2.12.tgz
diff --git a/php-phpunit-PHPUnit-Selenium.spec b/php-phpunit-PHPUnit-Selenium.spec
index dd022fc..9896ed2 100644
--- a/php-phpunit-PHPUnit-Selenium.spec
+++ b/php-phpunit-PHPUnit-Selenium.spec
@@ -1,9 +1,10 @@
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
-%global pear_name PHPUnit_Selenium
-%global channel pear.phpunit.de
+%{!?__pear: %global __pear %{_bindir}/pear}
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
+%global pear_name    PHPUnit_Selenium
+%global pear_channel pear.phpunit.de
 
 Name:           php-phpunit-PHPUnit-Selenium
-Version:        1.2.7
+Version:        1.2.12
 Release:        1%{?dist}
 Summary:        Selenium RC integration for PHPUnit
 
@@ -12,17 +13,24 @@ License:        BSD
 URL:            https://github.com/sebastianbergmann/phpunit-selenium
 Source0:        http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  php-pear(PEAR) >= 1.9.4
-BuildRequires:  php-channel(%{channel})
+BuildRequires:  php-channel(%{pear_channel})
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-pear(%{channel}/PHPUnit) >= 3.6.0
-Requires:       php-common >= 5.2.7
+Requires:       php-pear(%{pear_channel}/PHPUnit) >= 3.7.0
+Requires:       php-common >= 5.3.3
+Requires:       php-curl
+Requires:       php-dom
+# phpci detected extensions
+Requires:       php-date
+Requires:       php-pcre
+Requires:       php-json
+Requires:       php-reflection
+Requires:       php-spl
 
-Provides:       php-pear(%{channel}/%{pear_name}) = %{version}
+Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
 
 
 %description
@@ -42,22 +50,17 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
-rm -rf %{buildroot}%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
 
 # Install XML package description
 mkdir -p %{buildroot}%{pear_xmldir}
 install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -65,14 +68,14 @@ rm -rf %{buildroot}
 %postun
 if [ $1 -eq 0 ] ; then
     %{__pear} uninstall --nodeps --ignore-errors --register-only \
-        %{channel}/%{pear_name} >/dev/null || :
+        %{pear_channel}/%{pear_name} >/dev/null || :
 fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
+%{pear_phpdir}/PHPUnit/Extensions/SeleniumCommon
 %{pear_phpdir}/PHPUnit/Extensions/SeleniumTestCase
 %{pear_phpdir}/PHPUnit/Extensions/SeleniumTestCase.php
 %{pear_phpdir}/PHPUnit/Extensions/Selenium2TestCase
@@ -82,6 +85,9 @@ fi
 
 
 %changelog
+* Mon Feb 04 2013 Remi Collet <remi at fedoraproject.org> - 1.2.12-1
+- Version 1.2.12 (stable) - API 1.2.1 (stable)
+
 * Thu Jun 07 2012 Remi Collet <remi at fedoraproject.org> - 1.2.7-1
 - Version 1.2.7 (stable) - API 1.2.1 (stable)
 - add Selenium2TestCase extension
diff --git a/sources b/sources
index a3a9b3e..c1ee308 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6b348e8f8d61e16fdab2a92838b0f617  PHPUnit_Selenium-1.2.7.tgz
+434079d9b8eb9c328ac274cc3a11136f  PHPUnit_Selenium-1.2.12.tgz


More information about the scm-commits mailing list