diff --git a/.gitignore b/.gitignore index b6ce423..5645540 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ clog /php-phpseclib-2.0.25-c181596.tgz /php-phpseclib-2.0.26-09655fc.tgz /php-phpseclib-2.0.27-34620af.tgz +/php-phpseclib-2.0.28-d1ca58c.tgz diff --git a/php-phpseclib.spec b/php-phpseclib.spec index cb7fb09..223ae3a 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 @@ -21,7 +21,7 @@ Source2: makesrc.sh BuildArch: noarch -%if %{with_tests} +%if %{with tests} BuildRequires: php-composer(fedora/autoloader) %if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 %global phpunit %{_bindir}/phpunit6 @@ -70,7 +70,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 @@ -84,7 +84,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} \ @@ -104,6 +104,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 diff --git a/sources b/sources index 5d18860..1ad50fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpseclib-2.0.27-34620af.tgz) = de9419dec6cbca5945816e8d5333ab8b5b94ea721c8f39a896fcf81f86bdacfbd7878873713d2f7c9df82c6a954c9f5764a091adef231a0135f8ffbeba395162 +SHA512 (php-phpseclib-2.0.28-d1ca58c.tgz) = 0c8f0602d735c91778eaf24d98b6f4acea1383130440eec24fa3cbceec97bffd83eb32c322715a500ed6e8e2eeeefaaf8273f96dfa035ad38df87e8677050b10