summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Crypt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Crypt.spec')
-rw-r--r--php-horde-Horde-Crypt.spec5
1 files changed, 4 insertions, 1 deletions
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}