summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=""