summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-04 07:50:51 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-04 07:50:51 +0200
commit197d232f11e14efb84d51b5be8ce32bcfe5948dd (patch)
tree15871da2e93ef38fddf21471803f4f5daa9027a7
parentac730b9cb8a4215b68d9d80305c52ab2931e7bda (diff)
php-doctrine-common: fix build in remirepo
-rw-r--r--php-doctrine-common.spec2
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