diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-08-25 19:41:45 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-08-25 19:41:45 +0200 |
commit | d5e1e4b0de392331a3633142c1a5fa820628ca20 (patch) | |
tree | 5c6173370720ea4b84cf5caf58d9b04cb80f6455 /php-ocramius-instantiator.spec | |
parent | 4c1de1cdbb878b2cb917c49c69ffd692a79e1b81 (diff) |
php-ocramius-instantiator: missing BR
Diffstat (limited to 'php-ocramius-instantiator.spec')
-rw-r--r-- | php-ocramius-instantiator.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-ocramius-instantiator.spec b/php-ocramius-instantiator.spec index 8de4454..7288066 100644 --- a/php-ocramius-instantiator.spec +++ b/php-ocramius-instantiator.spec @@ -31,11 +31,14 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +%if %{with_tests} BuildRequires: php(language) >= 5.3.3 +BuildRequires: php-pdo BuildRequires: php-phpunit-PHPUnit BuildRequires: php-theseer-autoload BuildRequires: php-composer(ocramius/lazy-map) >= 1.0.0 BuildRequires: php-composer(ocramius/lazy-map) < 1.1 +%endif # From composer.json # "php": ">=5.3.3" @@ -86,6 +89,8 @@ sed -e '/Instantiator/d' \ >PHPUnit/Autoload.php fi +sed -e 's/colors="true"//' phpunit.xml.dist >phpunit.xml + : Run test suite %{_bindir}/phpunit \ --bootstrap autoload.php \ |