summaryrefslogtreecommitdiffstats
path: root/php-pecl-msgpack.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-msgpack.spec')
-rw-r--r--php-pecl-msgpack.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec
index 658672e..6a0162a 100644
--- a/php-pecl-msgpack.spec
+++ b/php-pecl-msgpack.spec
@@ -20,7 +20,7 @@
%global ini_name 40-%{pecl_name}.ini
%global upstream_version 3.0.0
-%global upstream_prever RC1
+#global upstream_prever RC1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
@@ -35,7 +35,7 @@ Name: %{?scl_prefix}php-pecl-msgpack
License: BSD-3-Clause
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
URL: https://pecl.php.net/package/msgpack
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
BuildRequires: make
@@ -181,9 +181,10 @@ rm */tests/035.phpt
%endif
%if "%{php_version}" > "7.4"
-OPT="-q --show-diff %{?_smp_mflags}"
+OPT="-q -P --show-diff %{?_smp_mflags}"
%else
-OPT="-q --show-diff"
+OPT="-q -P --show-diff"
+export REPORT_EXIT_STATUS=1
%endif
cd %{sources}
@@ -194,9 +195,7 @@ cd %{sources}
%if %{with tests}
: Upstream test suite for NTS extension
-TEST_PHP_EXECUTABLE=%{__php} \
TEST_PHP_ARGS="-n -d extension=apcu.so -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
-REPORT_EXIT_STATUS=1 \
%{__php} -n run-tests.php $OPT
%endif
@@ -208,9 +207,7 @@ REPORT_EXIT_STATUS=1 \
%if %{with tests}
: Upstream test suite for ZTS extension
-TEST_PHP_EXECUTABLE=%{__ztsphp} \
TEST_PHP_ARGS="-n -d extension=apcu.so -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
-REPORT_EXIT_STATUS=1 \
%{__ztsphp} -n run-tests.php $OPT
%endif
%endif
@@ -240,6 +237,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Sep 26 2024 Remi Collet <remi@remirepo.net> - 3.0.0-1
+- update to 3.0.0
+
* Tue Sep 24 2024 Remi Collet <remi@remirepo.net> - 3.0.0~RC1-2
- rebuild for 8.4.0RC1