summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-10-03 08:23:51 +0200
committerRemi Collet <remi@php.net>2022-10-03 08:23:51 +0200
commitb190e6b4b1d50c5cfca936040daa7f4d9f940291 (patch)
tree212124382b867919df10ad287265390a41b9a73a
parentf609281fbd02c777170cc43fb3281a8befd38d71 (diff)
update to 2.0.4
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-simdjson.spec16
3 files changed, 9 insertions, 11 deletions
diff --git a/PHPINFO b/PHPINFO
index 51ba89b..dd178e3 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,6 +2,6 @@
simdjson
simdjson support => enabled
-Version => 2.0.3
+Version => 2.0.4
Support => https://github.com/crazyxman/simdjson_php
Implementation => Intel/AMD AVX2
diff --git a/REFLECTION b/REFLECTION
index 30fcf7a..e7c288b 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #117 simdjson version 2.0.3 ] {
+Extension [ <persistent> extension #117 simdjson version 2.0.4 ] {
- Dependencies {
}
diff --git a/php-pecl-simdjson.spec b/php-pecl-simdjson.spec
index bd13dac..b74f732 100644
--- a/php-pecl-simdjson.spec
+++ b/php-pecl-simdjson.spec
@@ -10,21 +10,16 @@
%scl_package php-pecl-simdjson
%endif
+%bcond_without tests
+
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name simdjson
-%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
-%if "%{php_version}" < "5.6"
-# after json
-%global ini_name %{pecl_name}.ini
-%else
-# after 40-json.ini
%global ini_name 50-%{pecl_name}.ini
-%endif
#global prever RC2
Summary: Provides faster json decoding through simdjson bindings for PHP
Name: %{?scl_prefix}php-pecl-simdjson
-Version: 2.0.3
+Version: 2.0.4
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
@@ -170,7 +165,7 @@ cd NTS
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep '^%{pecl_name}$'
-%if %{with_tests}
+%if %{with tests}
: Upstream test suite for NTS extension
TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \
@@ -209,6 +204,9 @@ cd ../ZTS
%changelog
+* Mon Oct 3 2022 Remi Collet <remi@remirepo.net> - 2.0.4-1
+- update to 2.0.4
+
* Wed Aug 31 2022 Remi Collet <remi@remirepo.net> - 2.0.3-1
- initial package