From 9245b86a9b034ddc98a6d0342c661be213a1b9b1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Aug 2017 08:47:16 +0200 Subject: add optional dependency on php-phpunit-selenium --- phpunit6.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 - 6.3.0-2 +- add optional dependency on php-phpunit-selenium + * Fri Aug 4 2017 Remi Collet - 6.3.0-1 - Update to 6.3.0 -- cgit