summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-07 09:44:54 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-07 09:44:54 +0200
commit6754b4035a9f8687a1dde0b5cd8abd5f47e23636 (patch)
tree85e41db5ec20eedcfe5d62f1b304e32c83b046d0
parent82ad2e86efa024c053d3bee192d6af6951ae5b21 (diff)
php-horde-Horde-Text-Filter: add EPEL skip condition
-rw-r--r--php-horde-Horde-Text-Filter.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/php-horde-Horde-Text-Filter.spec b/php-horde-Horde-Text-Filter.spec
index 6f62793..7cb13a5 100644
--- a/php-horde-Horde-Text-Filter.spec
+++ b/php-horde-Horde-Text-Filter.spec
@@ -132,6 +132,14 @@ if which php71; then
run=1
fi
if [ $run -eq 0 ]; then
+%if 0%{?rhel} == 6
+# Only fails with PHP < 5.3.6, see http://3v4l.org/Vkcdu
+sed -e 's/testLinkurls/SKIP_testLinkurls/' \
+ -i LinkurlsTest.php
+sed -e 's/testMsoNormalCss/SKIP_testMsoNormalCss/' \
+ -i MsofficeTest.php
+%endif
+
%{_bindir}/phpunit --verbose .
# remirepo:2
fi