diff options
-rw-r--r-- | php-laminas-crypt.spec | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/php-laminas-crypt.spec b/php-laminas-crypt.spec index 91b4bd3..895b485 100644 --- a/php-laminas-crypt.spec +++ b/php-laminas-crypt.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 3.4.0 -Release: 1%{?dist} +Release: 3%{?dist} Summary: Laminas Framework %{library} component License: BSD @@ -176,11 +176,18 @@ require_once '%{buildroot}%{php_home}/%{namespace}/%{library}/autoload.php'; EOF ret=0 -for cmdarg in "php %{phpunit}" php73 php74 php80; do +# ccm +FILTER="testCcmEncryptWithTagSize|testIsSupportedAndCache" +# since phpunit 9.5.10 +FILTER="$FILTER|testSetSaltError|testGetSaltError|testDeprecated" +# since openssl 3.0 +FILTER="$FILTER|testFactory|testSetAlgorithm|testSetCipher|testSetCipherAlgorithm|testGenerateKeysWithUnsetPrivateKey" + +for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} \ - --filter '^((?!(testCcmEncryptWithTagSize|testIsSupportedAndCache)).)*$' \ + --filter "^((?!($FILTER)).)*$" \ --verbose || ret=1 fi done @@ -208,6 +215,9 @@ exit $ret %changelog +* Wed Nov 10 2021 Remi Collet <remi@remirepo.net> - 3.4.0-3 +- ignore tests for deprecation + * Mon Feb 15 2021 Remi Collet <remi@remirepo.net> - 3.4.0-1 - update to 3.4.0 - raise dependency on PHP 7.3 |