summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-ldap.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-12 15:55:03 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-12 15:55:03 +0100
commit04110074b348cf0bd7b399fdc245010dcfaa085e (patch)
treeac549e307425024a764d79215d44ec8359cffb97 /php-zendframework-zend-ldap.spec
parent6a5fa8569494fc3254f9632e1417f132b6b66ff9 (diff)
php-zendframework-zend-ldap: use php-mock
Diffstat (limited to 'php-zendframework-zend-ldap.spec')
-rw-r--r--php-zendframework-zend-ldap.spec9
1 files 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
<?php
@@ -146,6 +144,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Feb 12 2016 Remi Collet <remi@fedoraproject.org> - 2.6.0-2
+- add build dependency on php-mock-phpunit
+
* Fri Feb 12 2016 Remi Collet <remi@fedoraproject.org> - 2.6.0-1
- update to 2.6.0