[packages/php-phpunit-PHPUnit] - up to 3.7.8
glen
glen at pld-linux.org
Wed Oct 17 20:40:28 CEST 2012
commit 62cfbd3ddc49c1a364eb8990370b7f6c76176c50
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 17 21:40:20 2012 +0300
- up to 3.7.8
php-phpunit-PHPUnit.spec | 38 ++++++++++++++++----------------------
1 file changed, 16 insertions(+), 22 deletions(-)
---
diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec
index e7e6a68..d07508e 100644
--- a/php-phpunit-PHPUnit.spec
+++ b/php-phpunit-PHPUnit.spec
@@ -1,16 +1,16 @@
-%define _status stable
-%define _pearname PHPUnit
+%define status stable
+%define pearname PHPUnit
%define php_min_version 5.2.7
%include /usr/lib/rpm/macros.php
-Summary: %{_pearname} - regression testing framework for unit tests
-Summary(pl.UTF-8): %{_pearname} - zestaw testów regresyjnych
-Name: php-phpunit-%{_pearname}
-Version: 3.6.10
-Release: 4
+Summary: %{pearname} - regression testing framework for unit tests
+Summary(pl.UTF-8): %{pearname} - zestaw testów regresyjnych
+Name: php-phpunit-%{pearname}
+Version: 3.7.8
+Release: 1
License: BSD
Group: Development/Languages/PHP
Source0: http://pear.phpunit.de/get/PHPUnit-%{version}.tgz
-# Source0-md5: 5dbf82aad0bc782024a436437e057da5
+# Source0-md5: b7e40d23e937a116c070dfd16e48e840
URL: http://www.phpunit.de/
BuildRequires: php-channel(components.ez.no)
BuildRequires: php-channel(pear.phpunit.de)
@@ -18,7 +18,7 @@ BuildRequires: php-channel(pear.symfony-project.com)
BuildRequires: php-pear >= 4:1.1-2
BuildRequires: php-pear-PEAR >= 1:1.9.4
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.473
+BuildRequires: rpmbuild(macros) >= 1.580
Requires: php(core) >= %{php_min_version}
Requires: php(ctype)
Requires: php(dom)
@@ -26,16 +26,16 @@ Requires: php(pcre)
Requires: php(spl)
Requires: php-channel(pear.phpunit.de)
Requires: php-pear >= 4:1.1-2
-Requires: php-pear-XML_RPC2
Requires: php-phpunit-DbUnit >= 1.0.0
-Requires: php-phpunit-File_Iterator >= 1.3.0
+Requires: php-phpunit-File_Iterator >= 1.3.1
+Requires: php-phpunit-PHPUnit_MockObject <= 1.2.99
Requires: php-phpunit-PHPUnit_MockObject >= 1.1.0
-Requires: php-phpunit-PHPUnit_Selenium >= 1.0.1
+Requires: php-phpunit-PHP_CodeCoverage <= 1.2.99
Requires: php-phpunit-PHP_CodeCoverage >= 1.1.0
-Requires: php-phpunit-PHP_Timer >= 1.0.1
+Requires: php-phpunit-PHP_Timer >= 1.0.2
Requires: php-phpunit-Text_Template >= 1.1.1
Requires: php-reflection
-Requires: php-symfony-YAML >= 1.0.2
+Requires: php-symfony-YAML >= 2.1.0
Suggests: php-curl
Suggests: php-dbus
Suggests: php-json
@@ -52,25 +52,19 @@ Obsoletes: php-pear-PHPUnit2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# exclude optional dependencies
-%define dep_optional pear(Image/GraphViz.*) pear(Log.*) pear(SymfonyComponents/.*) pear(XML/RPC2/Client.php)
-
-# put it together for rpmbuild
-%define _noautoreq %{?dep_optional} %{?dep_missing}
-
%description
PHPUnit is a regression testing framework used by the developer who
implements unit tests in PHP. It is based upon JUnit, which can be
found at <http://www.junit.org/>.
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
%description -l pl.UTF-8
PHPUnit jest zestawem testów regresyjnych używanych przez developerów,
którzy implementują jednostki testowe w PHP. Jest bazowane na JUnit,
który można znaleźć pod adresem <http://www.junit.org/>.
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
%prep
%pear_package_setup
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-phpunit-PHPUnit.git/commitdiff/62cfbd3ddc49c1a364eb8990370b7f6c76176c50
More information about the pld-cvs-commit
mailing list