summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-apfd.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-pecl-apfd.spec b/php-pecl-apfd.spec
index 6192ca6..3992bce 100644
--- a/php-pecl-apfd.spec
+++ b/php-pecl-apfd.spec
@@ -34,7 +34,7 @@
Summary: Always Populate Form Data
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.0.3
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD-2-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
@@ -172,6 +172,7 @@ cd %{sources}
%if %{with tests}
: Upstream test suite for NTS extension
OPT="-n"
+[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so"
[ -f %{php_extdir}/json_post.so ] && OPT="$OPT -d extension=json_post.so"
TEST_PHP_EXECUTABLE=%{__php} \
@@ -208,6 +209,9 @@ cd ../ZTS
%changelog
+* Tue Aug 22 2023 Remi Collet <remi@remirepo.net> - 1.0.3-3
+- enable json extension for 7.4
+
* Fri Jul 7 2023 Remi Collet <remi@remirepo.net> - 1.0.3-2
- build out of sources tree
- enable json_post for test suite