diff options
| -rw-r--r-- | PHPINFO | 2 | ||||
| -rw-r--r-- | REFLECTION | 2 | ||||
| -rw-r--r-- | php-zstd.spec | 21 | 
3 files changed, 15 insertions, 10 deletions
@@ -2,6 +2,6 @@  zstd  Zstd support => enabled -Extension Version => 0.12.3 +Extension Version => 0.13.0  Interface Version => 1.5.5  APCu serializer ABI => 0 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #108 zstd version 0.12.3 ] { +Extension [ <persistent> extension #111 zstd version 0.13.0 ] {    - Dependencies {      Dependency [ apcu (Optional) ] diff --git a/php-zstd.spec b/php-zstd.spec index 4e31726..72cfe79 100644 --- a/php-zstd.spec +++ b/php-zstd.spec @@ -24,8 +24,8 @@  Summary:       Zstandard extension  Name:          %{?scl_prefix}php-%{pecl_name} -Version:       0.12.3 -Release:       3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version:       0.13.0 +Release:       1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  %if %{with libzstd}  License:       MIT  %else @@ -33,7 +33,7 @@ License:       MIT  License:       MIT AND BSD-3-Clause  %endif  URL:           https://pecl.php.net/package/%{pecl_name} -Source0:       https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +Source0:       https://pecl.php.net/get/%{sources}.tgz  BuildRequires: %{?dtsprefix}gcc  BuildRequires: %{?scl_prefix}php-devel >= 7.0 @@ -154,11 +154,12 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}  %endif  # Test & Documentation -for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do [ -f %{sources}/tests/$i ] && install -Dpm 644 %{sources}/tests/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/tests/$i +cd %{sources} +for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') +do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i  done -for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i +for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') +do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done @@ -229,7 +230,7 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \  %files devel -%doc %{sources}/tests +%doc %{pecl_testdir}/%{pecl_name}  %{php_incldir}/ext/%{pecl_name}  %if %{with_zts} @@ -238,6 +239,10 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \  %changelog +* Wed Sep  6 2023 Remi Collet <remi@remirepo.net> - 0.13.0-1 +- update to 0.13.0 +- fix tests installation path +  * Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 0.12.3-3  - rebuild for PHP 8.3.0RC1  | 
