From b2f27d7e17799c0343e0550b5a0eca8d10c123fd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 4 Apr 2022 08:06:32 +0200 Subject: update to 3.0.2 --- PHPINFO | 4 +- REFLECTION | 356 ++++++++++++++++++++++++++++++++++++--------------- php-pecl-tensor.spec | 12 +- 3 files changed, 266 insertions(+), 106 deletions(-) diff --git a/PHPINFO b/PHPINFO index 4f082ab..a9fbab5 100644 --- a/PHPINFO +++ b/PHPINFO @@ -6,5 +6,5 @@ A library and extension that provides objects for scientific computing in PHP. tensor => enabled Author => Andrew DalPino Version => 3.0.0 -Build Date => Jun 7 2021 00:00:00 -Powered by Zephir => Version 0.13.5-$Id$ +Build Date => Apr 4 2022 00:00:00 +Powered by Zephir => Version 0.16.0-$Id$ diff --git a/REFLECTION b/REFLECTION index ae5da24..2719d50 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #102 tensor version 3.0.0 ] { +Extension [ extension #100 tensor version 3.0.0 ] { - Dependencies { } @@ -53,7 +53,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method log ] { - Parameters [1] { - Parameter #0 [ float $base ] + Parameter #0 [ float $base = ] } } @@ -66,7 +66,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method round ] { - Parameters [1] { - Parameter #0 [ int $precision ] + Parameter #0 [ int $precision = ] } } @@ -202,7 +202,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ $callback ] - Parameter #1 [ float $initial ] + Parameter #1 [ float $initial = ] } - Return [ float ] } @@ -217,33 +217,36 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method offsetExists ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method offsetGet ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method offsetSet ] { - Parameters [2] { - Parameter #0 [ $offset ] - Parameter #1 [ $value ] + Parameter #0 [ mixed $offset ] + Parameter #1 [ mixed $value ] } } Method [ abstract public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method getIterator ] { + + - Parameters [0] { + } } Method [ abstract public method count ] { @@ -400,7 +403,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method variance ] { - Parameters [1] { - Parameter #0 [ $mean ] + Parameter #0 [ $mean = ] } } @@ -486,7 +489,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { } } - Interface [ interface Tensor\Exceptions\TensorException extends Throwable ] { + Interface [ interface Tensor\Exceptions\TensorException extends Throwable, Stringable ] { - Constants [0] { } @@ -502,27 +505,58 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Methods [8] { Method [ abstract public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ abstract public method getCode ] { + + - Parameters [0] { + } } Method [ abstract public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ abstract public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ abstract public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ abstract public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ abstract public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ abstract public method __toString ] { + Method [ abstract public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -578,7 +612,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ $callback ] - Parameter #1 [ float $initial ] + Parameter #1 [ float $initial = ] } - Return [ float ] } @@ -593,33 +627,36 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method offsetExists ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method offsetGet ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method offsetSet ] { - Parameters [2] { - Parameter #0 [ $offset ] - Parameter #1 [ $value ] + Parameter #0 [ mixed $offset ] + Parameter #1 [ mixed $value ] } } Method [ abstract public method offsetUnset ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ mixed $offset ] } } Method [ abstract public method getIterator ] { + + - Parameters [0] { + } } Method [ abstract public method count ] { @@ -745,7 +782,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method log ] { - Parameters [1] { - Parameter #0 [ float $base ] + Parameter #0 [ float $base = ] } } @@ -758,7 +795,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method round ] { - Parameters [1] { - Parameter #0 [ int $precision ] + Parameter #0 [ int $precision = ] } } @@ -843,7 +880,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ abstract public method variance ] { - Parameters [1] { - Parameter #0 [ $mean ] + Parameter #0 [ $mean = ] } } @@ -908,7 +945,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { } } - Class [ class Tensor\Exceptions\InvalidArgumentException extends InvalidArgumentException implements Throwable, Tensor\Exceptions\TensorException ] { + Class [ class Tensor\Exceptions\InvalidArgumentException extends InvalidArgumentException implements Throwable, Stringable, Tensor\Exceptions\TensorException ] { - Constants [0] { } @@ -920,47 +957,81 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -981,14 +1052,14 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ static public method build ] { - Parameters [1] { - Parameter #0 [ array $a ] + Parameter #0 [ array $a = [] ] } } Method [ static public method quick ] { - Parameters [1] { - Parameter #0 [ array $a ] + Parameter #0 [ array $a = [] ] } } @@ -1037,7 +1108,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ int $n ] - Parameter #1 [ float $lambda ] + Parameter #1 [ float $lambda = ] } - Return [ Tensor\Vector ] } @@ -1055,7 +1126,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [3] { Parameter #0 [ float $start ] Parameter #1 [ float $end ] - Parameter #2 [ float $interval ] + Parameter #2 [ float $interval = ] } - Return [ Tensor\Vector ] } @@ -1072,8 +1143,8 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [2] { - Property [ protected $a ] - Property [ protected $n ] + Property [ protected $a = NULL ] + Property [ protected $n = NULL ] } - Methods [108] { @@ -1081,7 +1152,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ array $a ] - Parameter #1 [ bool $validate ] + Parameter #1 [ bool $validate = ] } } @@ -1151,6 +1222,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } Method [ public method transpose ] { + + - Parameters [0] { + } } Method [ public method map ] { @@ -1165,7 +1239,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ $callback ] - Parameter #1 [ float $initial ] + Parameter #1 [ float $initial = ] } - Return [ float ] } @@ -1182,7 +1256,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ Tensor\Vector $b ] - Parameter #1 [ int $stride ] + Parameter #1 [ int $stride = ] } - Return [ Tensor\Vector ] } @@ -1228,7 +1302,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method pNorm ] { - Parameters [1] { - Parameter #0 [ float $p ] + Parameter #0 [ float $p = ] } - Return [ float ] } @@ -1369,7 +1443,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method log ] { - Parameters [1] { - Parameter #0 [ float $base ] + Parameter #0 [ float $base = ] } - Return [ Tensor\Vector ] } @@ -1490,7 +1564,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method variance ] { - Parameters [1] { - Parameter #0 [ $mean ] + Parameter #0 [ $mean = ] } - Return [ float ] } @@ -1498,7 +1572,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method round ] { - Parameters [1] { - Parameter #0 [ int $precision ] + Parameter #0 [ int $precision = ] } - Return [ Tensor\Vector ] } @@ -1884,6 +1958,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } Method [ public method getIterator ] { + + - Parameters [0] { + } } } } @@ -1904,14 +1981,14 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ static public method build ] { - Parameters [1] { - Parameter #0 [ array $a ] + Parameter #0 [ array $a = [] ] } } Method [ static public method quick ] { - Parameters [1] { - Parameter #0 [ array $a ] + Parameter #0 [ array $a = [] ] } } @@ -1960,7 +2037,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ int $n ] - Parameter #1 [ float $lambda ] + Parameter #1 [ float $lambda = ] } - Return [ Tensor\Vector ] } @@ -1978,7 +2055,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [3] { Parameter #0 [ float $start ] Parameter #1 [ float $end ] - Parameter #2 [ float $interval ] + Parameter #2 [ float $interval = ] } - Return [ Tensor\Vector ] } @@ -1995,8 +2072,8 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [2] { - Property [ protected $a ] - Property [ protected $n ] + Property [ protected $a = NULL ] + Property [ protected $n = NULL ] } - Methods [108] { @@ -2015,6 +2092,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } Method [ public method transpose ] { + + - Parameters [0] { + } } Method [ public method matmul ] { @@ -2125,7 +2205,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ array $a ] - Parameter #1 [ bool $validate ] + Parameter #1 [ bool $validate = ] } } @@ -2192,7 +2272,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ $callback ] - Parameter #1 [ float $initial ] + Parameter #1 [ float $initial = ] } - Return [ float ] } @@ -2209,7 +2289,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ Tensor\Vector $b ] - Parameter #1 [ int $stride ] + Parameter #1 [ int $stride = ] } - Return [ Tensor\Vector ] } @@ -2247,7 +2327,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method pNorm ] { - Parameters [1] { - Parameter #0 [ float $p ] + Parameter #0 [ float $p = ] } - Return [ float ] } @@ -2388,7 +2468,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method log ] { - Parameters [1] { - Parameter #0 [ float $base ] + Parameter #0 [ float $base = ] } - Return [ Tensor\Vector ] } @@ -2509,7 +2589,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method variance ] { - Parameters [1] { - Parameter #0 [ $mean ] + Parameter #0 [ $mean = ] } - Return [ float ] } @@ -2517,7 +2597,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method round ] { - Parameters [1] { - Parameter #0 [ int $precision ] + Parameter #0 [ int $precision = ] } - Return [ Tensor\Vector ] } @@ -2807,6 +2887,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } Method [ public method getIterator ] { + + - Parameters [0] { + } } } } @@ -2830,7 +2913,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [1] { - Property [ protected $l ] + Property [ protected $l = NULL ] } - Methods [3] { @@ -2870,15 +2953,15 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ Tensor\Matrix $a ] - Parameter #1 [ bool $symmetric ] + Parameter #1 [ bool $symmetric = ] } - Return [ Tensor\Decompositions\Eigen ] } } - Properties [2] { - Property [ protected $eigenvalues ] - Property [ protected $eigenvectors ] + Property [ protected $eigenvalues = NULL ] + Property [ protected $eigenvectors = NULL ] } - Methods [3] { @@ -2925,9 +3008,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [3] { - Property [ protected $l ] - Property [ protected $u ] - Property [ protected $p ] + Property [ protected $l = NULL ] + Property [ protected $u = NULL ] + Property [ protected $p = NULL ] } - Methods [4] { @@ -2982,9 +3065,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [3] { - Property [ protected $u ] - Property [ protected $singularValues ] - Property [ protected $vT ] + Property [ protected $u = NULL ] + Property [ protected $singularValues = NULL ] + Property [ protected $vT = NULL ] } - Methods [6] { @@ -3034,7 +3117,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { } } - Class [ class Tensor\Exceptions\DimensionalityMismatch extends Tensor\Exceptions\InvalidArgumentException implements Tensor\Exceptions\TensorException, Throwable ] { + Class [ class Tensor\Exceptions\DimensionalityMismatch extends Tensor\Exceptions\InvalidArgumentException implements Tensor\Exceptions\TensorException, Stringable, Throwable ] { - Constants [0] { } @@ -3046,52 +3129,86 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class Tensor\Exceptions\RuntimeException extends RuntimeException implements Throwable, Tensor\Exceptions\TensorException ] { + Class [ class Tensor\Exceptions\RuntimeException extends RuntimeException implements Stringable, Throwable, Tensor\Exceptions\TensorException ] { - Constants [0] { } @@ -3103,47 +3220,81 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -3164,7 +3315,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ static public method build ] { - Parameters [1] { - Parameter #0 [ array $a ] + Parameter #0 [ array $a = [] ] } - Return [ Tensor\Matrix ] } @@ -3172,7 +3323,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ static public method quick ] { - Parameters [1] { - Parameter #0 [ array $a ] + Parameter #0 [ array $a = [] ] } - Return [ Tensor\Matrix ] } @@ -3244,7 +3395,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [3] { Parameter #0 [ int $m ] Parameter #1 [ int $n ] - Parameter #2 [ float $lambda ] + Parameter #2 [ float $lambda = ] } - Return [ Tensor\Matrix ] } @@ -3260,9 +3411,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [3] { - Property [ protected $a ] - Property [ protected $m ] - Property [ protected $n ] + Property [ protected $a = NULL ] + Property [ protected $m = NULL ] + Property [ protected $n = NULL ] } - Methods [141] { @@ -3270,7 +3421,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ array $a ] - Parameter #1 [ bool $validate ] + Parameter #1 [ bool $validate = ] } } @@ -3379,7 +3530,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ $callback ] - Parameter #1 [ float $initial ] + Parameter #1 [ float $initial = ] } - Return [ float ] } @@ -3460,7 +3611,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { - Parameters [2] { Parameter #0 [ Tensor\Matrix $b ] - Parameter #1 [ int $stride ] + Parameter #1 [ int $stride = ] } - Return [ Tensor\Matrix ] } @@ -3496,7 +3647,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method eig ] { - Parameters [1] { - Parameter #0 [ bool $symmetric ] + Parameter #0 [ bool $symmetric = ] } - Return [ Tensor\Decompositions\Eigen ] } @@ -3665,7 +3816,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method log ] { - Parameters [1] { - Parameter #0 [ float $base ] + Parameter #0 [ float $base = ] } - Return [ Tensor\Matrix ] } @@ -3786,7 +3937,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method variance ] { - Parameters [1] { - Parameter #0 [ $mean ] + Parameter #0 [ $mean = ] } - Return [ Tensor\ColumnVector ] } @@ -3794,7 +3945,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method covariance ] { - Parameters [1] { - Parameter #0 [ Tensor\ColumnVector or NULL $mean ] + Parameter #0 [ ?Tensor\ColumnVector $mean = ] } - Return [ Tensor\Matrix ] } @@ -3802,7 +3953,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { Method [ public method round ] { - Parameters [1] { - Parameter #0 [ int $precision ] + Parameter #0 [ int $precision = ] } - Return [ Tensor\Matrix ] } @@ -4326,6 +4477,9 @@ Extension [ extension #102 tensor version 3.0.0 ] { } Method [ public method getIterator ] { + + - Parameters [0] { + } } } } @@ -4349,8 +4503,8 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [2] { - Property [ protected $a ] - Property [ protected $swaps ] + Property [ protected $a = NULL ] + Property [ protected $swaps = NULL ] } - Methods [3] { @@ -4397,7 +4551,7 @@ Extension [ extension #102 tensor version 3.0.0 ] { } - Properties [1] { - Property [ protected $a ] + Property [ protected $a = NULL ] } - Methods [2] { diff --git a/php-pecl-tensor.spec b/php-pecl-tensor.spec index 03b7ac4..3282287 100644 --- a/php-pecl-tensor.spec +++ b/php-pecl-tensor.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-tensor # -# Copyright (c) 2020-2021 Remi Collet +# Copyright (c) 2020-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -16,13 +16,13 @@ # After 20-json %global ini_name 40-%{pecl_name}.ini -%global upstream_version 3.0.00 +%global upstream_version 3.0.2 #global upstream_prever alpha2 Summary: Objects for scientific computing in PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -57,6 +57,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "8.0" Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.1" +Obsoletes: php81-pecl-%{pecl_name} <= %{version} +%endif %endif @@ -200,6 +203,9 @@ fi %changelog +* Mon Apr 4 2022 Remi Collet - 3.0.2-1 +- update to 3.0.2 + * Mon Jun 7 2021 Remi Collet - 3.0.00-2 - update to 3.0.00 (stable, no change) -- cgit