From 853e0da1ebcc0399b026304ce3c1372b6b272384 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 22 Apr 2014 18:01:30 +0200 Subject: php-guzzle-Guzzle: EL5 fix --- php-guzzle-Guzzle.spec | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit