From 4b4fb963758b6e76c0a404d4af082ea897826f09 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Dec 2020 08:28:44 +0100 Subject: update to 3.0.1 --- php-phpseclib3.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-phpseclib3.spec b/php-phpseclib3.spec index ea9b953..0aae2e1 100644 --- a/php-phpseclib3.spec +++ b/php-phpseclib3.spec @@ -3,14 +3,14 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit fe62c85e0203503231d489af95d0ac053b7d3575 +%global github_commit 094bcbdd97e04fe4032b7962434d76f588e15f66 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global major 3 %bcond_without tests Name: php-%{composer_vendor}%{major} -Version: 3.0.0 +Version: 3.0.1 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -111,7 +111,11 @@ sed -e 's/CreateKeyTest/RSACreateKeyTest/' -i tests/Unit/Crypt/RSA/CreateKeyTest sed -e 's/CreateKeyTest/DSACreateKeyTest/' -i tests/Unit/Crypt/DSA/CreateKeyTest.php # Not supported curves ? (need investigations) +%if 0%{?rhel} == 7 +rm tests/Unit/Crypt/EC/CurveTest.php +%else rm phpseclib/Crypt/EC/Curves/{brainpoolP160t1,secp128r2,secp112r1,secp160r2,secp192r1,brainpoolP192t1,brainpoolP160r1,secp112r2,secp192k1,prime192v3,secp160r1,brainpoolP192r1,secp128r1,prime192v2,secp160k1}.php +%endif # from travis/run-phpunit.sh if %{phpunit} --atleast-version 8 @@ -155,6 +159,9 @@ exit $ret %changelog +* Mon Dec 21 2020 Remi Collet - 3.0.1-1 +- update to 3.0.1 + * Thu Dec 17 2020 Remi Collet - 3.0.0-1 - update to 3.0.0 - rename to php-phpseclib3 -- cgit