summaryrefslogtreecommitdiffstats
path: root/php-phpseclib3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpseclib3.spec')
-rw-r--r--php-phpseclib3.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/php-phpseclib3.spec b/php-phpseclib3.spec
index b50f5e6..00cf192 100644
--- a/php-phpseclib3.spec
+++ b/php-phpseclib3.spec
@@ -3,14 +3,14 @@
%global github_owner phpseclib
%global github_name phpseclib
-%global github_commit f28693d38ba21bb0d9f0c411ee5dae2b178201da
+%global github_commit cc181005cf548bfd8a4896383bb825d859259f95
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global major 3
%bcond_without tests
Name: php-%{composer_vendor}%{major}
-Version: 3.0.18
+Version: 3.0.19
Release: 1%{?dist}
Summary: PHP Secure Communications Library
License: MIT
@@ -39,7 +39,7 @@ BuildRequires: php-composer(fedora/autoloader)
%global phpunit %{_bindir}/phpunit9
BuildRequires: %{phpunit}
BuildRequires: %{_bindir}/phpab
-# Optional at runtime, to avoid too muck skipped tests
+# Optional at runtime, to avoid too much skipped tests
BuildRequires: php-bcmath
BuildRequires: php-gmp
%endif
@@ -107,13 +107,10 @@ 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
-php tests/make_compatible_with_new_phpunit_versions.php
+php tests/make_compatible_with_phpunit7.php
+php tests/make_compatible_with_phpunit9.php
# from travis/run-phpunit.sh
# testAuthorityInfoAccess fails without internet access
@@ -139,6 +136,9 @@ exit $ret
%changelog
+* Mon Mar 6 2023 Remi Collet <remi@remirepo.net> - 3.0.19-1
+- update to 3.0.19
+
* Mon Dec 19 2022 Remi Collet <remi@remirepo.net> - 3.0.18-1
- update to 3.0.18