summaryrefslogtreecommitdiffstats
path: root/php-pecl-oauth.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-oauth.spec')
-rw-r--r--php-pecl-oauth.spec8
1 files changed, 6 insertions, 2 deletions
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 <remi@remirepo.net> - 2.0.6-3
+- more fixes for PHP 8
+
* Thu Sep 10 2020 Remi Collet <remi@remirepo.net> - 2.0.6-2
- add fix for PHP 8 from
https://github.com/php/pecl-web_services-oauth/pull/16