summaryrefslogtreecommitdiffstats
path: root/php-mock/php-mock.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-mock/php-mock.spec')
-rw-r--r--php-mock/php-mock.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-mock/php-mock.spec b/php-mock/php-mock.spec
index 7b7d446..235d633 100644
--- a/php-mock/php-mock.spec
+++ b/php-mock/php-mock.spec
@@ -29,6 +29,7 @@ BuildRequires: php(language) >= 5.5
%if %{with_tests}
# from composer.json, "require-dev": {
# "phpunit/phpunit": "^4|^5"
+BuildRequires: php-composer(phpunit/php-text-template) >= 1
BuildRequires: php-composer(phpunit/phpunit) > 4
%endif
# For autoloader
@@ -70,6 +71,7 @@ Autoloader: %{_datadir}/php/phpmock/autoload.php
cp %{SOURCE1} classes/autoload.php
+
%build
# Nothing