summaryrefslogtreecommitdiffstats
path: root/php-guzzle-Guzzle.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-guzzle-Guzzle.spec')
-rw-r--r--php-guzzle-Guzzle.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-guzzle-Guzzle.spec b/php-guzzle-Guzzle.spec
index 36102d2..3ae0525 100644
--- a/php-guzzle-Guzzle.spec
+++ b/php-guzzle-Guzzle.spec
@@ -118,9 +118,11 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
# No tests in upstream package
+%if %{with_cacert}
# Ensure unbundled CA cert is referenced
grep '%{_sysconfdir}/pki/tls/cert.pem' --quiet \
%{buildroot}%{_datadir}/pear/Guzzle/Http/Client.php
+%endif
%post