diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-04-08 07:07:36 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-04-08 07:07:36 +0200 |
commit | 35e684284210e8129b3f8fbae9d1cab46b1d778e (patch) | |
tree | fae4cbfdfcd320fb8a753f3392e1e6d927ddf065 | |
parent | 534027b1f380562699139ba50c1536b5b9a440ed (diff) |
php-pear-Net-DNS2: fix short_open_tag in tests
-rw-r--r-- | php-pear-Net-DNS2.spec | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/php-pear-Net-DNS2.spec b/php-pear-Net-DNS2.spec index 7ea66f3..a4057c8 100644 --- a/php-pear-Net-DNS2.spec +++ b/php-pear-Net-DNS2.spec @@ -25,14 +25,16 @@ Requires: php-pear(PEAR) # extensions detected by phpci Requires: php-ctype Requires: php-date -Requires: php-filter +Requires: php-hash Requires: php-json -Requires: php-mhash -Requires: php-openssl Requires: php-pcre Requires: php-shmop Requires: php-sockets Requires: php-spl +# Optional +Requires: php-filter +Requires: php-mhash +Requires: php-openssl Provides: php-pear(%{pear_name}) = %{version} @@ -82,6 +84,10 @@ rm -rf %{buildroot} %check +# https://pear.php.net/bugs/19886 +sed -e 's/<?$/<?php/' \ + -i %{buildroot}%{pear_testdir}/%{pear_name}/tests/Net_DNS2_DNSSECTest.php + if ping -c 1 google.com &>/dev/null then suite=AllTests.php |