packages: php-PHPUnit/php-PHPUnit.spec - up to 3.5.0
glen
glen at pld-linux.org
Fri Oct 1 14:55:19 CEST 2010
Author: glen Date: Fri Oct 1 12:55:19 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 3.5.0
---- Files affected:
packages/php-PHPUnit:
php-PHPUnit.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: packages/php-PHPUnit/php-PHPUnit.spec
diff -u packages/php-PHPUnit/php-PHPUnit.spec:1.11 packages/php-PHPUnit/php-PHPUnit.spec:1.12
--- packages/php-PHPUnit/php-PHPUnit.spec:1.11 Tue Jul 20 11:52:00 2010
+++ packages/php-PHPUnit/php-PHPUnit.spec Fri Oct 1 14:55:13 2010
@@ -7,15 +7,16 @@
%define _class PHPUnit
%define _status stable
%define _pearname %{_class}
+%define php_min_version 5.2.7
Summary: %{_pearname} - regression testing framework for unit tests
Summary(pl.UTF-8): %{_pearname} - zestaw testów regresyjnych
Name: php-%{_pearname}
-Version: 3.4.15
-Release: 2
+Version: 3.5.0
+Release: 0.1
License: BSD
Group: Development/Languages/PHP
Source0: http://pear.phpunit.de/get/PHPUnit-%{version}.tgz
-# Source0-md5: a36105b20467aca3f815704fec440a1f
+# Source0-md5: 9da0e1ac9b6da2aa09008e8c2eb956f2
URL: http://www.phpunit.de/
BuildRequires: php-channel(pear.phpunit.de)
BuildRequires: php-channel(pear.symfony-project.com)
@@ -23,13 +24,17 @@
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.473
-Requires: php-common >= 4:5.1.4
+Requires: php-common >= 4:%{php_min_version}
Requires: php-pear >= 4:1.1-2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# exclude optional dependencies
-%define _noautoreq pear(Image/GraphViz.*) pear(Log.*) pear(SymfonyComponents/.*) pear(XML/RPC2/Client.php)
+%define dep_optional pear(Image/GraphViz.*) pear(Log.*) pear(SymfonyComponents/.*) pear(XML/RPC2/Client.php)
+%define dep_missing pear(File/Iterator/Factory.php) pear(PHP/CodeCoverage.*) pear(PHP/Timer.php) pear(Text/Template.php)
+
+# put it together for rpmbuild
+%define _noautoreq %{?dep_optional} %{?dep_missing}
%description
PHPUnit is a regression testing framework used by the developer who
@@ -66,7 +71,7 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
install -d $RPM_BUILD_ROOT%{_bindir}
-install usr/bin/phpunit $RPM_BUILD_ROOT%{_bindir}
+install -p usr/bin/phpunit $RPM_BUILD_ROOT%{_bindir}
%pear_package_install
%clean
@@ -91,6 +96,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2010/10/01 12:55:13 glen
+- up to 3.5.0
+
Revision 1.11 2010/07/20 09:52:00 glen
- optional deps; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-PHPUnit/php-PHPUnit.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list