summaryrefslogtreecommitdiffstats
path: root/php-pecl-http.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-25 14:17:42 +0200
committerRemi Collet <remi@remirepo.net>2017-08-25 14:17:42 +0200
commit810c0b2eb51ffcd71650c58fc2d2e8f0127adc62 (patch)
tree22a5fff6d4a24587a0667f25b07e395494cf2521 /php-pecl-http.spec
parentd23822c47df023212488462a60928e758585c632 (diff)
bette way to skip test
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r--php-pecl-http.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index 8e5f76d..630cd8d 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -250,10 +250,10 @@ else
export SKIP_ONLINE_TESTS=1
fi
-%if 0%{?fedora} >= 27
+if pkg-config --atleast-version=7.55 libcurl; then
# https://github.com/m6w6/ext-http/issues/72
rm ?TS/tests/client027.phpt
-%endif
+fi
# Shared needed extensions
modules=""