[packages/php-saucelabs-PHPUnit: 10/26] - update to 3.4.15, tests disabled (not included)
glen
glen at pld-linux.org
Mon Jan 28 21:04:25 CET 2013
commit 326d8e55864577daff5a7eb81805bdf474a534d0
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Jul 20 07:48:31 2010 +0000
- update to 3.4.15, tests disabled (not included)
Changed files:
php-phpunit-PHPUnit.spec -> 1.10
php-phpunit-PHPUnit.spec | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec
index 5456af9..f6530a5 100644
--- a/php-phpunit-PHPUnit.spec
+++ b/php-phpunit-PHPUnit.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+
%include /usr/lib/rpm/macros.php
%define _class PHPUnit
%define _status stable
@@ -5,18 +9,20 @@
Summary: %{_pearname} - regression testing framework for unit tests
Summary(pl.UTF-8): %{_pearname} - zestaw testów regresyjnych
Name: php-%{_pearname}
-Version: 3.3.16
+Version: 3.4.15
Release: 1
License: BSD
Group: Development/Languages/PHP
Source0: http://pear.phpunit.de/get/PHPUnit-%{version}.tgz
-# Source0-md5: 1bafa52c00d773c84931d43e37532729
+# Source0-md5: a36105b20467aca3f815704fec440a1f
URL: http://www.phpunit.de/
+BuildRequires: php-channel(pear.phpunit.de)
+BuildRequires: php-channel(pear.symfony-project.com)
BuildRequires: php-pear >= 4:1.1-2
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.473
-Requires: php-common >= 3:4.1.0
+Requires: php-common >= 4:5.1.4
Requires: php-pear >= 4:1.1-2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -69,9 +75,11 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc install.log optional-packages.txt
%{php_pear_dir}/.registry/.channel.pear.phpunit.de/*.reg
-%{php_pear_dir}/%{_class}
%attr(755,root,root) %{_bindir}/phpunit
+%{php_pear_dir}/%{_class}
+%if %{with tests}
%files tests
%defattr(644,root,root,755)
%{php_pear_dir}/tests/%{_pearname}
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-saucelabs-PHPUnit.git/commitdiff/ee31b5ae1a839e78274e9c9fb526debf92b852ca
More information about the pld-cvs-commit
mailing list