[php-phpunit-PHPUnit-Selenium/f15] update to 1.2.0
Remi Collet
remi at fedoraproject.org
Tue Jan 17 18:03:57 UTC 2012
commit d28bc477685f1874c871d6277d660b7acda2da39
Author: remi <fedora at famillecollet.com>
Date: Tue Jan 17 19:03:29 2012 +0100
update to 1.2.0
.gitignore | 5 +++++
php-phpunit-PHPUnit-Selenium.spec | 26 ++++++++++++--------------
sources | 2 +-
3 files changed, 18 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6ca5345..b102479 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,8 @@
package*.xml
/PHPUnit_Selenium-1.0.2.tgz
/PHPUnit_Selenium-1.0.3.tgz
+/PHPUnit_Selenium-1.1.0.tgz
+/PHPUnit_Selenium-1.1.1.tgz
+/PHPUnit_Selenium-1.1.2.tgz
+/PHPUnit_Selenium-1.1.3.tgz
+/PHPUnit_Selenium-1.2.0.tgz
diff --git a/php-phpunit-PHPUnit-Selenium.spec b/php-phpunit-PHPUnit-Selenium.spec
index f0f39a2..02ad4e8 100644
--- a/php-phpunit-PHPUnit-Selenium.spec
+++ b/php-phpunit-PHPUnit-Selenium.spec
@@ -3,7 +3,7 @@
%global channel pear.phpunit.de
Name: php-phpunit-PHPUnit-Selenium
-Version: 1.0.3
+Version: 1.2.0
Release: 1%{?dist}
Summary: Selenium RC integration for PHPUnit
@@ -14,12 +14,12 @@ 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.2
+BuildRequires: php-pear(PEAR) >= 1.9.4
BuildRequires: php-channel(%{channel})
Requires(post): %{__pear}
Requires(postun): %{__pear}
-Requires: php-pear(%{channel}/PHPUnit) >= 3.5.0
+Requires: php-pear(%{channel}/PHPUnit) >= 3.6.0
Requires: php-common >= 5.2.7
Provides: php-pear(%{channel}/%{pear_name}) = %{version}
@@ -31,10 +31,6 @@ Selenium RC integration for PHPUnit
%prep
%setup -q -c
-# Create a "localized" php.ini to avoid build warning
-cp /etc/php.ini .
-echo "date.timezone=UTC" >>php.ini
-
cd %{pear_name}-%{version}
# package.xml is V2
mv ../package.xml %{name}.xml
@@ -46,20 +42,20 @@ cd %{pear_name}-%{version}
%install
+rm -rf %{buildroot}
cd %{pear_name}-%{version}
-rm -rf $RPM_BUILD_ROOT docdir
-PHPRC=../php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_phpdir}/.??*
# Install XML package description
-mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
@@ -78,11 +74,13 @@ fi
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/PHPUnit/Extensions/SeleniumTestCase
-%{pear_phpdir}/PHPUnit/Extensions/Story/SeleniumTestCase.php
%{pear_phpdir}/PHPUnit/Extensions/SeleniumTestCase.php
%changelog
+* Mon Jan 16 2012 Remi Collet <remi at fedoraproject.org> - 1.2.0-1
+- Version 1.2.0 (stable) - API 1.2.0 (stable)
+
* Fri Jun 10 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.3-1
- Version 1.0.3 (stable) - API 1.0.0 (stable)
- remove PEAR hack (only needed for EPEL)
diff --git a/sources b/sources
index 9732de7..1f9dba6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9b69bae584b77bf58aa41616a5c405b5 PHPUnit_Selenium-1.0.3.tgz
+bdbe2bd1902142521bf1e88152ef3c75 PHPUnit_Selenium-1.2.0.tgz
More information about the scm-commits
mailing list