summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-21 08:47:16 +0200
committerRemi Collet <remi@remirepo.net>2017-08-21 08:47:16 +0200
commit9245b86a9b034ddc98a6d0342c661be213a1b9b1 (patch)
treec1d121783acaf7f4caa3a2d0378718c8f81cc8d4
parent82e08161e04c27aebceea56306e2e0dd09de899e (diff)
add optional dependency on php-phpunit-selenium
-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