summaryrefslogtreecommitdiffstats
path: root/php-pecl-simdjson.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-simdjson.spec')
-rw-r--r--php-pecl-simdjson.spec16
1 files changed, 7 insertions, 9 deletions
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