From 8e45e7296eb1389c33e342e98d8a65884480f7b2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 3 Nov 2012 09:01:49 +0100 Subject: php-horde-Horde-Crypt: no GnuPG on EL6 --- php-horde-Horde-Crypt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-horde-Horde-Crypt.spec b/php-horde-Horde-Crypt.spec index a2696a1..9354451 100644 --- a/php-horde-Horde-Crypt.spec +++ b/php-horde-Horde-Crypt.spec @@ -22,7 +22,10 @@ BuildRequires: php-channel(%{pear_channel}) BuildRequires: gettext # To run unit tests BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0 -BuildRequires: gnupg +%if 0%{?rhel} < 6 +# Don't work with GnuPG 2 +BuildRequires: gnupg < 2 +%endif Requires(post): %{__pear} Requires(postun): %{__pear} -- cgit