From 568462854a13c9bd69448937d478fd491e48f210 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 22 Aug 2023 15:17:32 +0200 Subject: enable json extension for 7.4 --- php-pecl-apfd.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 - 1.0.3-3 +- enable json extension for 7.4 + * Fri Jul 7 2023 Remi Collet - 1.0.3-2 - build out of sources tree - enable json_post for test suite -- cgit