summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpunit6.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpunit6.spec b/phpunit6.spec
index 97a2158..01918a5 100644
--- a/phpunit6.spec
+++ b/phpunit6.spec
@@ -21,7 +21,7 @@
%global ver_major 6
%global ver_minor 3
%global ver_patch 0
-%global specrel 1
+%global specrel 2
Name: %{pk_project}%{ver_major}
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
@@ -162,6 +162,7 @@ Requires: php-phar
Requires: php-spl
%if 0%{?fedora} > 21
Recommends: php-phpunit-dbunit3
+Suggests: php-phpunit-selenium
%endif
%if 0%{?fedora} > 99
@@ -215,6 +216,7 @@ cat << 'EOF' | tee -a src/autoload.php
// Extensions
\Fedora\Autoloader\Dependencies::optional([
'%{php_home}/%{ns_vendor}/DbUnit/autoload.php',
+ '%{php_home}/%{ns_vendor}/Extensions/SeleniumCommon/Autoload.php',
]);
EOF
cat src/autoload.php
@@ -262,6 +264,9 @@ exit $ret
%changelog
+* Mon Aug 21 2017 Remi Collet <remi@remirepo.net> - 6.3.0-2
+- add optional dependency on php-phpunit-selenium
+
* Fri Aug 4 2017 Remi Collet <remi@remirepo.net> - 6.3.0-1
- Update to 6.3.0