summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-22 15:17:32 +0200
committerRemi Collet <remi@php.net>2023-08-22 15:17:32 +0200
commit568462854a13c9bd69448937d478fd491e48f210 (patch)
treedd029c615f28a2b5b087a4ba4cfffb332d8ab727
parentf88076de4a9d69fb00915fe36b574f7e375c1494 (diff)
enable json extension for 7.4
-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