From 04110074b348cf0bd7b399fdc245010dcfaa085e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Feb 2016 15:55:03 +0100 Subject: php-zendframework-zend-ldap: use php-mock --- php-zendframework-zend-ldap.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/php-zendframework-zend-ldap.spec b/php-zendframework-zend-ldap.spec index 6443083..16ff7c6 100644 --- a/php-zendframework-zend-ldap.spec +++ b/php-zendframework-zend-ldap.spec @@ -21,7 +21,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Zend Framework %{library} component Group: Development/Libraries @@ -52,6 +52,7 @@ BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.5 BuildRequires: php-composer(%{gh_owner}/zend-config) >= 2.5 BuildRequires: php-composer(%{gh_owner}/zend-eventmanager) >= 2.5 BuildRequires: php-composer(phpunit/phpunit) >= 4.0 +BuildRequires: php-composer(php-mock/php-mock-phpunit) >= 0.3 # Autoloader BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5 %endif @@ -106,9 +107,6 @@ cp -pr src %{buildroot}%{php_home}/Zend/%{library} %check %if %{with_tests} -# Temporary, ignore test using PHPMock -rm test/OfflineTest.php - mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 2.6.0-2 +- add build dependency on php-mock-phpunit + * Fri Feb 12 2016 Remi Collet - 2.6.0-1 - update to 2.6.0 -- cgit