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.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-horde-Horde-Crypt.spec b/php-horde-Horde-Crypt.spec
index 584d0a7..39b9f02 100644
--- a/php-horde-Horde-Crypt.spec
+++ b/php-horde-Horde-Crypt.spec
@@ -33,6 +33,7 @@ BuildRequires: php-pear(%{pear_channel}/Horde_Stream) >= 1.5.0
BuildRequires: php-pear(%{pear_channel}/Horde_Url) >= 2.0.0
# rhel >= 6 have gnupg2 which provides this
BuildRequires: %{_bindir}/gpg
+#BuildRequires: %{_bindir}/gpg2
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -114,6 +115,9 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
: Skip online test
rm PgpKeyserverTest.php
+# use both versions
+#sed -e "/gnupg2/s:false:'/usr/bin/gpg2':" conf.php.dist >conf.php
+
ret=0
for cmd in php php56 php70 php71 php72; do
if which $cmd; then