summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-30 11:05:12 +0200
committerRemi Collet <remi@remirepo.net>2020-09-30 11:05:12 +0200
commitdf65afac4eea4fa632c4f8d38f9a105b8f057439 (patch)
tree371364ee7fadbd398832bf3ca78a786c289aa0c2
parent97202795b4490250027445b63678f6b2ffd3ef6f (diff)
rebuild for PHP 8.0.0RC1
-rw-r--r--php-pecl-oauth.spec13
1 files changed, 9 insertions, 4 deletions
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec
index eab213b..d9adb19 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -22,7 +22,7 @@
Name: %{?sub_prefix}php-pecl-oauth
Version: 2.0.7
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?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
@@ -64,7 +64,9 @@ Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.4"
Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
+%if "%{php_version}" > "8.0"
+Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
%endif
@@ -179,7 +181,7 @@ fi
: Minimal load test for NTS extension
%{__php} -n \
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- --modules | grep OAuth
+ --modules | grep '^OAuth$'
%if %{with tests}
cd NTS
@@ -195,7 +197,7 @@ REPORT_EXIT_STATUS=1 \
: Minimal load test for ZTS extension
%{__ztsphp} -n \
-d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- --modules | grep OAuth
+ --modules | grep '^OAuth$'
%endif
@@ -215,6 +217,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 2.0.7-2
+- rebuild for PHP 8.0.0RC1
+
* Fri Sep 18 2020 Remi Collet <remi@remirepo.net> - 2.0.7-1
- update to 2.0.7
- drop patch merged upstream