diff --git a/.gitignore b/.gitignore index 8dc0154..9d2c883 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,8 @@ clog /php-phpseclib-2.0.30-136b9ca.tgz /php-phpseclib-2.0.31-233a920.tgz /php-phpseclib-2.0.32-f5c4c19.tgz +/php-phpseclib-2.0.33-fb53b78.tgz +/php-phpseclib-2.0.34-98a6fe5.tgz +/php-phpseclib-2.0.35-4e16cf3.tgz +/php-phpseclib-2.0.36-a975471.tgz +/php-phpseclib-2.0.37-c812fbb.tgz diff --git a/php-phpseclib.spec b/php-phpseclib.spec index d67b357..b5b6497 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -3,12 +3,12 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit f5c4c19880d45d0be3e7d24ae8ac434844a898cd +%global github_commit c812fbb4d6b4d7f30235ab7298a12f09ba13b37c %global github_short %(c=%{github_commit}; echo ${c:0:7}) %bcond_without tests Name: php-%{composer_vendor} -Version: 2.0.32 +Version: 2.0.37 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -81,6 +81,9 @@ cat << 'EOF' | tee -a tests/bootstrap.php if (class_exists("PHPUnit_Framework_TestCase") && !class_exists("PHPUnit\\Framework\\TestCase")) { class_alias("PHPUnit_Framework_TestCase", "PHPUnit\\Framework\\TestCase"); } +if (class_exists("PHPUnit_Framework_Error_Notice") && !class_exists("PHPUnit\Framework\Error\Notice")) { + class_alias("PHPUnit_Framework_Error_Notice", "PHPUnit\Framework\Error\Notice"); +} require "%{buildroot}%{_datadir}/php/%{composer_vendor}/autoload.php"; date_default_timezone_set('UTC'); EOF @@ -108,7 +111,7 @@ sed -e '/require /d' -i tests/Unit/Crypt/Hash/SHA*_96Test.php # testAuthorityInfoAccess fails without internet access ret=0 -for cmd in "php %{phpunit}" php73 php74 php80; do +for cmd in "php %{phpunit}" php74 php80 php81; do if which $cmd; then set $cmd $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \ @@ -128,6 +131,21 @@ exit $ret %changelog +* Mon Apr 4 2022 Remi Collet - 2.0.37-1 +- update to 2.0.37 + +* Mon Jan 31 2022 Remi Collet - 2.0.36-1 +- update to 2.0.36 + +* Mon Nov 29 2021 Remi Collet - 2.0.35-1 +- update to 2.0.35 + +* Wed Oct 27 2021 Remi Collet - 2.0.34-1 +- update to 2.0.34 + +* Thu Sep 2 2021 Remi Collet - 2.0.33-1 +- update to 2.0.33 + * Mon Jun 14 2021 Remi Collet - 2.0.32-1 - update to 2.0.32 diff --git a/sources b/sources index 5c56611..35d04b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpseclib-2.0.32-f5c4c19.tgz) = 5a022668b3425afa0555838e5ad0681700874051d7b6a42ed741134800421a5f792c4b1bf54fb573910103fce92d40a393e6bebac3ecd33abf561b8d1669a7f8 +SHA512 (php-phpseclib-2.0.37-c812fbb.tgz) = 4b92d819830697b817307d6ed6ed349ef3f1bcf0e388db685a3ee92b8ecbbcd2be96e537b3d24647479aefdb9e242f8a3e64aeb5e471e643149440c7132462dd