diff options
Diffstat (limited to 'php-pecl-oauth.spec')
-rw-r--r-- | php-pecl-oauth.spec | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec index c21426c..17fea30 100644 --- a/php-pecl-oauth.spec +++ b/php-pecl-oauth.spec @@ -21,19 +21,20 @@ Name: %{?scl_prefix}php-pecl-oauth Version: 2.0.9 -Release: 1%{?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-3-Clause URL: https://pecl.php.net/package/oauth Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: 35.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc # see https://github.com/php/pecl-web_services-oauth/pull/31 BuildRequires: %{?scl_prefix}php-devel >= 7.1 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-posix -BuildRequires: pcre-devel BuildRequires: libcurl-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -64,6 +65,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} +%patch -P0 -p1 -b .pr35 + #sed -e '/PHP_OAUTH_VERSION/s/2.0.3-dev/2.0.3/' -i php_oauth.h # Sanity check, really often broken extver=$(sed -n '/#define PHP_OAUTH_VERSION/{s/.* //;s/".*$//;p}' php_oauth.h) @@ -166,6 +169,13 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Jul 4 2025 Remi Collet <remi@remirepo.net> - 2.0.9-3 +- add patch for PHP 8.5 from + https://github.com/php/pecl-web_services-oauth/pull/35 + +* Mon Nov 18 2024 Remi Collet <remi@remirepo.net> - 2.0.9-2 +- drop unneeded BR on pcre-devel + * Tue Oct 8 2024 Remi Collet <remi@remirepo.net> - 2.0.9-1 - update to 2.0.9 - drop patches merged upstream |