From 87079d48e3956928d2b662f35238d008275f8178 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Nov 2018 07:39:39 +0100 Subject: v2.0.12 --- php-phpseclib.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/php-phpseclib.spec b/php-phpseclib.spec index 5d06f3f..e1ae595 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -3,12 +3,12 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit 7053f06f91b3de78e143d430e55a8f7889efc08b +%global github_commit 8814dc7841db159daed0b32c2b08fb7e03c6afe7 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global with_tests 0%{!?_without_tests:1} Name: php-%{composer_vendor} -Version: 2.0.11 +Version: 2.0.12 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -27,7 +27,7 @@ BuildArch: noarch %if %{with_tests} BuildRequires: php-composer(fedora/autoloader) -%if 0%{?fedora} >= 26 +%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 %global phpunit %{_bindir}/phpunit6 %else %global phpunit %{_bindir}/phpunit @@ -86,14 +86,13 @@ date_default_timezone_set('UTC'); EOF +# testAuthorityInfoAccess fails without internet access ret=0 -for cmd in "php %{phpunit}" php70 php71 php72; do +for cmd in "php %{phpunit}" php70 php71 php72 php73; do if which $cmd; then set $cmd $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit6} \ -%if 0%{?rhel} > 0 && 0%{?rhel} < 8 --filter '^((?!(testAuthorityInfoAccess)).)*$' \ -%endif --verbose || ret=1 fi done @@ -109,6 +108,9 @@ exit $ret %changelog +* Mon Nov 5 2018 Remi Collet - 2.0.12-1 +- update to 2.0.12 + * Mon Apr 16 2018 Remi Collet - 2.0.11-1 - update to 2.0.11 -- cgit