packages: php-PHPUnit/php-PHPUnit.spec - update to 3.4.15, tests disabled (...
glen
glen at pld-linux.org
Tue Jul 20 09:48:36 CEST 2010
Author: glen Date: Tue Jul 20 07:48:36 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update to 3.4.15, tests disabled (not included)
---- Files affected:
packages/php-PHPUnit:
php-PHPUnit.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/php-PHPUnit/php-PHPUnit.spec
diff -u packages/php-PHPUnit/php-PHPUnit.spec:1.9 packages/php-PHPUnit/php-PHPUnit.spec:1.10
--- packages/php-PHPUnit/php-PHPUnit.spec:1.9 Sun May 3 20:41:26 2009
+++ packages/php-PHPUnit/php-PHPUnit.spec Tue Jul 20 09:48:31 2010
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with tests # build with tests
+
%include /usr/lib/rpm/macros.php
%define _class PHPUnit
%define _status stable
@@ -6,18 +10,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)
@@ -70,12 +76,14 @@
%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
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -83,6 +91,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2010/07/20 07:48:31 glen
+- update to 3.4.15, tests disabled (not included)
+
Revision 1.9 2009/05/03 18:41:26 adamg
- updated to 3.3.16
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-PHPUnit/php-PHPUnit.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list