diff options
author | Remi Collet <remi@remirepo.net> | 2017-05-23 09:16:50 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-05-23 09:16:50 +0200 |
commit | 36691bd94b6ed3c1771a05733c3204fca22a06ba (patch) | |
tree | fb1b42be31ad105bf59466edb8be4556147b42cf | |
parent | 9fc2dd1666c9ca160b13638f0e06fa0ab59c2983 (diff) |
wip for gnupg2 tests
-rw-r--r-- | php-horde-Horde-Crypt.spec | 4 |
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 |