From 041fff812c05a1f639ceeceeeb8ca98bdf7800d8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Sep 2020 08:49:54 +0200 Subject: more fixes for PHP 8 --- php-pecl-oauth.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'php-pecl-oauth.spec') diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec index 9668831..94b1698 100644 --- a/php-pecl-oauth.spec +++ b/php-pecl-oauth.spec @@ -22,7 +22,7 @@ Name: %{?sub_prefix}php-pecl-oauth Version: 2.0.6 -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;')}} Summary: PHP OAuth consumer extension License: BSD URL: https://pecl.php.net/package/oauth @@ -33,6 +33,7 @@ Patch0: https://patch-diff.githubusercontent.com/raw/php/pecl-web_servic BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear +BuildRequires: %{?scl_prefix}php-posix BuildRequires: pcre-devel BuildRequires: libcurl-devel @@ -188,7 +189,7 @@ fi cd NTS : Upstream test suite for NTS extension TEST_PHP_EXECUTABLE=%{__php} \ -TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ +TEST_PHP_ARGS="-n -d extension=posix.so -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ %{__php} -n run-tests.php --show-diff @@ -218,6 +219,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Sep 18 2020 Remi Collet - 2.0.6-3 +- more fixes for PHP 8 + * Thu Sep 10 2020 Remi Collet - 2.0.6-2 - add fix for PHP 8 from https://github.com/php/pecl-web_services-oauth/pull/16 -- cgit