]> git.pld-linux.org Git - packages/php-ZendFramework.git/blobdiff - php-ZendFramework.spec
tests require newer phpunit than we have
[packages/php-ZendFramework.git] / php-ZendFramework.spec
index 1f6395ce90695f6d58d8c42783764ef9985176dc..40ae0fe57fb83cac6bc82bd3796220e0d3ef61ba 100644 (file)
@@ -2,6 +2,9 @@
 # Conditional build:
 %bcond_with    tests           # build with tests
 
+# NOTE:
+# - ZendXml has it's own versioning schema, version 1.0.1 as of 2.4.8 ZF2 release
+
 Summary:       Zend Framework 2
 Name:          php-ZendFramework
 Version:       2.4.8
@@ -13,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)
 
This page took 0.095854 seconds and 4 git commands to generate.