summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2015-10-29 21:50:39 (GMT)
committerElan Ruusamäe2015-10-29 21:50:39 (GMT)
commit4051ae443335ea53798670a1cd5b8c462d3baac3 (patch)
tree85f5dbe49b009d873384b28096e59a51c042a536
parentd9de598b372376950a8ff8781830bee74e41e6e0 (diff)
downloadphp-ZendFramework-4051ae443335ea53798670a1cd5b8c462d3baac3.zip
php-ZendFramework-4051ae443335ea53798670a1cd5b8c462d3baac3.tar.gz
tests require newer phpunit than we have
-rw-r--r--php-ZendFramework.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-ZendFramework.spec b/php-ZendFramework.spec
index 3a3c857..40ae0fe 100644
--- a/php-ZendFramework.spec
+++ b/php-ZendFramework.spec
@@ -16,10 +16,13 @@ Source0: https://packages.zendframework.com/releases/ZendFramework-%{version}/Ze
# git clone https://github.com/zendframework/zf2.git
# cd zf2; git checkout release-2.3.9
# tar czf ../ZendFramework-tests-2.3.9.tgz tests
-#Source1: ZendFramework-tests-%{version}.tgz
+#Source1: ZendFramework-tests-%{version}.tgz
Source2: autoload.php
URL: http://framework.zend.com/
Requires: php(core) >= 5.3.23
+%if %{with tests}
+BuildRequires: phpunit >= 4.0.0
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)