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.spec15
1 files changed, 8 insertions, 7 deletions
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec
index f493332..8c545aa 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -20,18 +20,15 @@
%global _configure ../%{sources}/configure
Name: %{?scl_prefix}php-pecl-oauth
-Version: 2.0.9
-Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 2.0.10
+Release: 1%{?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
@@ -40,8 +37,10 @@ BuildRequires: libcurl-devel
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
+# Extension
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
@@ -65,8 +64,6 @@ 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)
@@ -169,6 +166,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Oct 10 2025 Remi Collet <remi@remirepo.net> - 2.0.10-1
+- update to 2.0.10
+- drop patch merged upstream
+
* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 2.0.9-5
- add patch for PHP 8.5.0alpha3 from
https://github.com/php/pecl-web_services-oauth/pull/35