summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-03 09:01:49 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-03 09:01:49 +0100
commit8e45e7296eb1389c33e342e98d8a65884480f7b2 (patch)
tree1454eac73d75854d3b303ac353a0e4df287ad6d4
parent7153d69b6206aeb004e9446b05efd13716e6ee74 (diff)
php-horde-Horde-Crypt: no GnuPG on EL6
-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}