From ba46bf98c44f58ce9866d467706b2dbd901356f2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 8 Jul 2020 15:36:06 +0200 Subject: update to 2.0.28 --- php-phpseclib.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'php-phpseclib.spec') diff --git a/php-phpseclib.spec b/php-phpseclib.spec index 7940376..cfdaf7f 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -3,12 +3,12 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit 34620af4df7d1988d8f0d7e91f6c8a3bf931d8dc +%global github_commit d1ca58cf33cb21046d702ae3a7b14fdacd9f3260 %global github_short %(c=%{github_commit}; echo ${c:0:7}) -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests Name: php-%{composer_vendor} -Version: 2.0.27 +Version: 2.0.28 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -25,7 +25,7 @@ Source2: makesrc.sh #global __debug_install_post /bin/true BuildArch: noarch -%if %{with_tests} +%if %{with tests} BuildRequires: php-composer(fedora/autoloader) %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 %global phpunit %{_bindir}/phpunit6 @@ -74,7 +74,7 @@ mkdir -p %{buildroot}%{_datadir}/php cp -pr %{composer_vendor} %{buildroot}%{_datadir}/php -%if %{with_tests} +%if %{with tests} %check %{_bindir}/phpab --output tests/bootstrap.php tests cat << 'EOF' | tee -a tests/bootstrap.php @@ -88,7 +88,7 @@ EOF # testAuthorityInfoAccess fails without internet access ret=0 -for cmd in "php %{phpunit}" php71 php72 php73 php74; do +for cmd in "php %{phpunit}" php72 php73 php74 php80; do if which $cmd; then set $cmd $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit6} \ @@ -108,6 +108,9 @@ exit $ret %changelog +* Wed Jul 8 2020 Remi Collet - 2.0.28-1 +- update to 2.0.28 + * Mon Apr 6 2020 Remi Collet - 2.0.27-1 - update to 2.0.27 -- cgit