summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-22 18:01:30 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-22 18:01:30 +0200
commit853e0da1ebcc0399b026304ce3c1372b6b272384 (patch)
treed4f237c390da1a6c395002306c3363203fd9120e
parentb61f3612447dd636ecd38f5f19422a5a8b547ab2 (diff)
php-guzzle-Guzzle: EL5 fix
-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