diff options
-rw-r--r-- | php-doctrine-common.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-doctrine-common.spec b/php-doctrine-common.spec index 487faa4..74b978b 100644 --- a/php-doctrine-common.spec +++ b/php-doctrine-common.spec @@ -164,7 +164,7 @@ cp -rp lib/* %{buildroot}%{phpdir}/ sed "s#require.*autoload.*#require_once '%{buildroot}%{phpdir}/Doctrine/Common/autoload.php';#" \ -i tests/Doctrine/Tests/TestInit.php -%if 0%{?fedora} > 20 || 0%{?rhel} > 6 +%if 1 : PHPUnit greater than 3.7 # Non-static method PHPUnit_Framework_MockObject_Generator::getMock() should not # be called statically, assuming $this from incompatible context |