diff options
author | Elan Ruusamäe | 2015-10-29 21:50:39 (GMT) |
---|---|---|
committer | Elan Ruusamäe | 2015-10-29 21:50:39 (GMT) |
commit | 4051ae443335ea53798670a1cd5b8c462d3baac3 (patch) | |
tree | 85f5dbe49b009d873384b28096e59a51c042a536 | |
parent | d9de598b372376950a8ff8781830bee74e41e6e0 (diff) | |
download | php-ZendFramework-4051ae443335ea53798670a1cd5b8c462d3baac3.zip php-ZendFramework-4051ae443335ea53798670a1cd5b8c462d3baac3.tar.gz |
tests require newer phpunit than we have
-rw-r--r-- | php-ZendFramework.spec | 5 |
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) |