From 36691bd94b6ed3c1771a05733c3204fca22a06ba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 May 2017 09:16:50 +0200 Subject: wip for gnupg2 tests --- php-horde-Horde-Crypt.spec | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit